Skip to content
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

Rationalise localization #158

Closed
4 tasks
Artoria2e5 opened this issue Sep 4, 2019 · 3 comments
Closed
4 tasks

Rationalise localization #158

Artoria2e5 opened this issue Sep 4, 2019 · 3 comments

Comments

@Artoria2e5
Copy link
Contributor

Artoria2e5 commented Sep 4, 2019

Some users reports say that Maskbook is being used in Hong Kong too. Looks like we can't just settle with a single zh: we need to add some subdivisions. While we are at it, we should also rationalize our localisation system.

  • Use a proper library that has:
    • Plurals
    • Grammatical Gender
  • Put it on a platform with Git hooks

I recommend Gettext/Jed if we want to put the thing on some translation platform immediately; i18next is sort of decent at that too. If we want something really good and powerful, however, I strongly recommend using MessageFormat. Few platforms support it for now, but Weblate (WeblateOrg/weblate#2967) might do soon. There's some precedence of its adoption in the JS community by Angular folks, so we aren't doing anything crazy here.

I don't really care about what platform we use, although again I am strongly leaning Weblate. If we are using Crowdin, however, be sure to review everything and don't let these damned stale votes decide what strings to use.

PS: don't change the spelling mix

@neruthes
Copy link
Contributor

neruthes commented Sep 9, 2019

Looks like we will do this in 2020 Q2.

@Artoria2e5
Copy link
Contributor Author

Could be earlier if I ingest enough nootropics and plumb through the translate-toolkit stuff. I mean, I can do a non-weblate thing first...

@Jack-Works
Copy link
Member

hey what about this lib @Artoria2e5 https://github.com/skolmer/es2015-i18n-tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants