Skip to content

[Translations] Write Translation script only clone the main directory #2341

Open
@rollybueno

Description

@rollybueno

Issue:

On the documentation, it specifically said that we need to run npm run write-translations -- --locale <%LANGUAGE%> inside packages/docs/site after you configure new locale in docsaurus.config.js to generate the JSON files. It also clone the main directory into the newly created locale directory.

However, it only focusing on the main directory content. It only adds partial file for blueprints and completely ignoring the developers directory. This means, the Blueprint page and Developers page will be missing out on the translatation if not pointed out directly or check the dicretory structure manually.

Expected Behaviour

Once new locale has been configured on the docsaurus.config.js and run npm run write-translations -- --locale <%LANGUAGE%>, it should clone not only the main directory but also the blueprints and developers.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions