-
Notifications
You must be signed in to change notification settings - Fork 134
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
How to Multilingue it ? #730
Comments
Will dive into this in a bit. The main docs are here: https://about.okkur.org/syna/docs/multilingual/ |
Any more information you can share? |
Hugo generates pages for each language if the page is registered. If you want landing page in both languages for example, you have to create |
I'm facing the same issue after following the documentation. After building the site with
(left out head contents for brevity) |
Update: I figured out what was the issue. I had somehow overread and skipped the following step in the documentation:
After adding that, translations work as expected. |
Is there a possibility to adjust the language buttons - use dropdown or change colors? |
Not through a simple config. Would have to be done on the HTML templates and either be opened as a PR so we can integrate any config option or overwrite the theme files on your setup. |
one more comment (I know it does not belong here, so delete this post if you wish) I just found that the names of the fragments should not begin with a number. At least of those using js like hero or editor. I thing this info is not in the documentation. |
Happy for you to open a separate issue or create a pull request adding said documentation. |
I reed the 4 issues related but I but didn't succeed ;)
I probably have a good beginning because after duplicating my page with cp and rename the new one with .fr.
Hugo generate 2 languages
and en fr appear in my navbar
but when I go to localhost:1313/fr/ I have almost a complete blank page. I means by this it seams to load ./content/_index.fr.md and I see the french title but the body is empty
what I'm missing ?
The text was updated successfully, but these errors were encountered: