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

L10n problem: Strings have hardcoded capitalization #991

Open
emmapeel2 opened this issue Oct 12, 2023 · 1 comment
Open

L10n problem: Strings have hardcoded capitalization #991

emmapeel2 opened this issue Oct 12, 2023 · 1 comment

Comments

@emmapeel2
Copy link
Contributor

emmapeel2 commented Oct 12, 2023

Some strings of the software are being turned into capital letters through css or something similar. This practice makes them difficult to translate, as many languages:

  • Do not have capital letters (Persian, Arabic, Hebrew... )
  • Have different spelling rules depending if the word is in capital letters or not (Greek and others)
  • Do not use capital letters in the same way than English

The string 'START VPN' for example is 'Start VPN' on the translation file: https://hosted.weblate.org/translate/guardianproject/orbot/en/?checksum=d66d525b66046615 . Same with 'Choose how to connect' https://hosted.weblate.org/translate/guardianproject/orbot/en/?checksum=6a3a41df28044b66

For a better translation, please do not hardcode capitalization rules.

If you want the string to appear in all caps, it is better to write the source string in all caps and then translators will see what to do in their language.

@n8fr8
Copy link
Member

n8fr8 commented Oct 16, 2023

Will review and improve!

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

No branches or pull requests

2 participants