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

[v3] Localization #64

Open
NeoTheThird opened this issue Dec 8, 2020 · 2 comments
Open

[v3] Localization #64

NeoTheThird opened this issue Dec 8, 2020 · 2 comments
Labels

Comments

@NeoTheThird
Copy link
Member

If we want to localize the installer ubports-installer#101, we also need to translate the instruction strings on here. I think it is important not to bloat the config files themselves, so i suggest we continue writing them in English and then build translated versions for the API.

We could make a script to collect all the strings that need to be translated, such as user action bodies and titles and option descriptions. It should output a file to be committed to the repository and parsed by UBports Weblate. Translators gonna translate. Weblate then makes a PR once a week with the updated translated strings. The api build script will then build localized json files in namespaces (eg /v3/devices/eo/bacon.json) with all available translated strings replaced. Unavailable strings remain in English.

Since the API is statically built, we might want to avoid offering languages that are only partially translated or unlikely to be maintained in the future. Once added, it'll be impossible to remove a language again.

@NeoTheThird NeoTheThird added the rfc label Dec 8, 2020
@hansetrans
Copy link

hansetrans commented Dec 28, 2020

Hi Neo,
I could do the english - german translation.
Send me the text file please, and I make a time estimation.

@NeoTheThird
Copy link
Member Author

@hansetrans the structure to build localized versions of the files needs to be in place before we can start with the actual translations

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

No branches or pull requests

2 participants