-
Notifications
You must be signed in to change notification settings - Fork 36
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 set the default language? #5
Comments
In order to set the default language, you need to open this file https://github.com/Laverna/laverna/blob/master/app/scripts/helpers/i18next.js#L29. But why do you need to set the default language when you can change language in the settings page? |
Because the default setting page is lack of Chinese.(zh_cn) (Check it in https://laverna.cc/index.html#/settings or http://laverna.github.io/static-laverna/#/settings)
The i18next.js is Not exit in https://github.com/Laverna/static-laverna :) |
You're right. For now, you can switch to another language by opening Developer console and executing:
|
That's what i got in chrome console. |
It didn't take effect because right now zh_cn locale doesn't exist in the static version https://github.com/Laverna/static-laverna/tree/gh-pages/locales |
Please commit the ar locale into the static version. |
The locales were updated. |
I try to set L22 of manifest.webapp to zh_cn and add the translation.json in /locales/zh_cn/, but it seems didn't work.
The text was updated successfully, but these errors were encountered: