Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate docs into French #257

Open
70m4w0k opened this issue Jul 12, 2023 · 0 comments
Open

Translate docs into French #257

70m4w0k opened this issue Jul 12, 2023 · 0 comments

Comments

@70m4w0k
Copy link

70m4w0k commented Jul 12, 2023

I would like to translate the use.ink docs into french.

Currently looking at docusaurus trying to understand how to start ^^'.

I've clone the repo and basically copy/pasted the docs folder under /i18n/fr/.

Also modified docusaurus config file :

themes: [
    [
      ...
      {
        ...
        language: ['en', 'es', 'fr'],
      },
    ],
  ],

...

items: [
            ...
            {
              href: '/fr/',
              label: 'French',
              target: '_parent',
            },
          ],

...

localeConfigs: {
      ...
      fr: {
        label: 'Français',
        htmlLang: 'fr-FR',
      },

After that, when I run yarn start --locale fr , all I see is the English version but I cannot see my translated files.

Is there some more config that I should be aware of ? Or should I just run some docusaurus command ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant