You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks a lot for sharing this theme. How to enable the translation between English and translated language? e.g. Chinese.
I've added the content to the translations.yml already, but nothing is changed.
Is there a way to explicitly change the language? like, setting up a button on the right-top corner.
if no, it will be auto-enable based on what criteria? IP? browser setting? or what ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi @alibabagogogo, great you enjoyed the theme. Translations should work automatically after editing the translation variables and build the site.
So, if you cloned the repo, make sure you created the translations.yml file inside src/yml folder. If you're using the gem, add the content from here in your _config.yml file.
The site should be translated on your next build after doing that. Let me know if you have any issues.
Hi @thiagorossener , thanks a lot for your immediate feedback.
I did 'get clone' from your repo at the very beginning and I forked it as well. There is a blank translations.yml file in src/yml folder. I added your samples with some changes on values.
I build the site by gulp and by bundle exec jekyll serve. Neither way works in translation. The values of site.yml etc. will be updated in _config.yml after rebuild, but I cannot tell there is anything changed related to translations.yml.
Sorry I'm new to the coding part, so if I describe the process as a layman, yeah, I am the layman.. .
If my understanding is correct, every time I rebuild the project, the *.yml in src/yml will be 'gethered' into _config.yml and it will be used as 'rules' to bulid pages in _site. If this is correct, where does the translation mappings stores after rebuilding?
Hi, thanks a lot for sharing this theme. How to enable the translation between English and translated language? e.g. Chinese.
I've added the content to the translations.yml already, but nothing is changed.
Thanks in advance.
The text was updated successfully, but these errors were encountered: