Closed DoraTiger closed 7 months ago
We need CHINESE!!!
What type of PR is this?
- feature
What this PR does / why we need it:
add i18n support, default is English, add additional Chinese translation.
Which issue(s) this PR fixes:
807
Release Notes
* Add i18n support for front page by nuxtjs/i18n, default language path is /frontend/lang/. * The way to add more translations is to translate each value in the lang directory, based on /frontend/lang/en-US.json. After that, add translation language type to /frontend/nuxt.config.ts. * The language switch is set in the login screen, which automatically detects the browser language. * I only translated for the front page, some of the text embedded in the ts script and the back end was not translated.
可以fork一份仓库,然后把国际化代码推到仓库的i18n分支吗?
What type of PR is this?
- feature
What this PR does / why we need it:
add i18n support, default is English, add additional Chinese translation.
Which issue(s) this PR fixes:
807
Release Notes
* Add i18n support for front page by nuxtjs/i18n, default language path is /frontend/lang/. * The way to add more translations is to translate each value in the lang directory, based on /frontend/lang/en-US.json. After that, add translation language type to /frontend/nuxt.config.ts. * The language switch is set in the login screen, which automatically detects the browser language. * I only translated for the front page, some of the text embedded in the ts script and the back end was not translated.
可以fork一份仓库,然后把国际化代码推到仓库的i18n分支吗?
https://github.com/DoraTiger/homebox/tree/i18n this is my fork i18n branch.
Hey! Thanks for the work here.
Unfortunately, I can't commit to maintain this and currently things are changing too much to make this an easy choice right now. Going to close this, once we hit a stable v1 we can revisit i18n support, (or if we have any regular maintainers join the project).
What type of PR is this?
What this PR does / why we need it:
add i18n support, default is English, add additional Chinese translation.
Which issue(s) this PR fixes:
807
Release Notes