-
Notifications
You must be signed in to change notification settings - Fork 115
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
Multiple Languages Support #10
Comments
Ok, so this issue got opened a while back and unfortunately it appears that the repo owner does not care to discuss issues. It might not be relevant to you anymore, but since I stumbled across the same problem, others might too be confronted with his exact problem in the future so I would like to answer your question... In the theme's directory you will find the translation files for Korean, Japanese and English in the directory 'i18n'. If you want to add support for other languages, just copy one of those and modify accordingly. I for one needed support for German so I created the file 'de.yaml' for you it would be 'pt.yaml' for Portuguese. Now the key to letting hugo know which language translations to use, is to put Hugo supports building multilanguage sites https://gohugo.io/content-management/multilingual/ but since I only needed German and English I honestly didn't bother and opted for building from two different config files in which I just set the defaultContentLanguage as explained above.
Hope that helps! If you anyone has further questions, just ask. |
With the latest update in #23 the process for multiple language versions of your profile is simplified a lot. Just checkout the example For adding new languages you only have to copy the |
How can we design a site to support, for example, Portuguese and English?
I defined a i18n folder in my root directory with the Portuguese translations of the section titles, but I'd like to be able to create a multilingual webpage.
Is it possible?
The text was updated successfully, but these errors were encountered: