Request for Chinese Translation
There have been requests from the Chinese language group for translations of the UBports main website and the docs.ubports.com website. I have heard that someone is working on getting the main site into a state that is translatable. As for the docs, I don't see the option to translate it into Chinese. How do you add a language to something on weblate? At the moment there are only these projects https://translate.ubports.com/languages/zh_Hans/
You cannot currently add a language by yourself on Weblate. Adding a new language requires a few things:
- Add the translation to our list in languages.sh
- Set up the translation on ReadTheDocs
- Import the translation to Weblate and hope that it doesn't conflict
- Oh it conflicted, let's fix that
- Spend 30 minutes fixing the conflict
And then, when it comes time to update the translation sources (Sphinx manually creates its own
pofiles rather than a
potfile), we will almost certainly get a conflict on Weblate. 30 minutes spent on that again...
Basically, I'm not adding new translations right now because we haven't figured out the problems with translating the documentation. There is an issue filed for what you're requesting, though.
Interesting process. Thanks for the info!