-
Notifications
You must be signed in to change notification settings - Fork 9
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
More languages #243
Comments
@marc-farre Do you have any idea how we could organize this? |
Besides the "first page", we have also some Marketplace (Playstore/Apple Store) texts. |
@PrimozRatej Before answering this question, can you tell me how these language files are created? |
@marc-farre, they are created manually. Then, the Flutter generator creates an override class, which is used inside the code. If we want to add another language, we just create a new ARB file here, and then I add another supported_locale in the code, and that's it. |
@PrimozRatej thanks. @luke- Ideally, we would manage the translations with the Perhaps my idea is complicated, but what do you think about full automation, which would prevent human errors (mainly when we have new texts): 1/ In the https://github.com/humhub/app/blob/master/lib/l10n/app_en.arb file, we store all translations, including the Marketplace texts (or we create a separated file for the Marketplace) 2/ A GitHub Action (after each commit) executes PHP code to convert this JSON file into PHP array stored in files in a 3/ We make the app available in https://translate.humhub.org/translation/translate for translations 4/ Another GitHub Action (triggered when creating a new release -
|
When it comes to Asian languages, I'd prefer DeepL over Google as they're less error prone in translations if automation were the intent. 🤔 |
@ArchBlood The idea is to allow users to do manual translations via https://translate.humhub.org/translation/translate, but to automate the process to make it possible. |
@marc-farre Sounds good. Wouldn't it be nicer if we created a new repository, e.g. 'app-translations'? This has a fake module structure, a 'messages' folder, GitHub actions. The
|
Yes, very good idea to create a separated repository. |
Created Repo and Issue here: https://github.com/humhub/app-translations/issues/1 |
@luke- whenever it is ready I have a |
It would be awesome if more languages could be add in the first page of the app like pt-BR for instance.
I can help for pt-BR translation if needed btw.
The text was updated successfully, but these errors were encountered: