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
Manage i18n/l10n for TS & TSX files #89
Comments
Do you have any third-party app in mind to achieve this? |
Translation managementI think SaaS is the way to go. Transifex seems like the most established choice if we're eligible for Transifex for Open Source. ToolingIt seems there's nothing as simple as I would have hoped (and what we used to have in Angular 1) but there seems to be some adequate tools. The most promising one is React-intl along with its very own parser. 🎉
💩
It would also require us to use babel to get the benefit of its parser plugin. This does complicate the build process. However, string extraction is actually one of the painful parts of handling i18n so I think it could be worth it. |
Thought on this topic @sampaccoud @jmaupetit ? |
Hi, for online translation tool there is also: |
I'm not qualified but React-intl seems to be the default choice for i18n with React. |
I will handle this as soon as #253 is done. I made a quick POC and string extraction is working fine with the babel-plugin extractor. |
When you was talking about babel i didn't catch you was talking of babel compiler. In fact i was thinking about python-babel. I don't know if a Python solution would nicely integrate in your processes but just want to say that python-babel has some React support through JSX message extraction. I can help you with it if needed. |
IMO we should use front-end tools for front-end purpose. Particularly, if we decide to distribute front-end applications as NPM packages. |
This issue was solved in PR #566 |
Right now all user-facing text in the frontend is written in English with no support for localization and no i18n infrastructure.
We should add some i18n management facilities and a way to tag, collect and load translatable/translated strings.
🚧 Manage translations => for now we will be pulling & committing them manually into the repository.
The text was updated successfully, but these errors were encountered: