New locale #132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "i18n"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added Russian ru translation.
Thank you for the app.
Pardon my paranoia, but are you sure this is translated by an actual Russian speaker? Russian should have complex plural rules that have a total of four number categories, while your translation is only using two.
I added the "few" plural form.
I was confused with the syntax of the inline plural rules. Usually all projects use a separate tags:
See https://info-anikdey003.medium.com/android-quantity-strings-plurals-5ed3d7c62c16
This syntax makes it easier to read, translate but also this is supported by the Weblate that shows three different fields on UI but also have a check to find strings with missing plural forms. So maybe you can use this syntax?
I tried to find the inline plural syntax and only by the code I found that it uses the icu.text.MessageFormat
And a few articles with examples where I found how to add the "few" form:
https://lokalise.com/blog/java-internationalization-learn-the-basics/
https://phrase.com/blog/posts/guide-to-the-icu-message-format/
Sorry for the continuous doubt of your effort, but are you actually a Russian speaker? I'd rather not incorporate machine translations into my app, and it's a little strange for a Mongolian (as stated in your GitHub profile) to submit Russian before Mongolian... without asking about the plural syntax before trying to submit incomplete plurals.
Even Google recommends to use MessageFormat instead of their ad hoc syntax. ("On API 24+ you can use the much more powerful ICU MessageFormat class instead.")
That's Weblate's problem. I've actually used a local Weblate instance in the early development for "translating" to Chinese and I hated every part of it.
You may easily ensure this by checking words with character
ё("yo"): auto translators don't use it but instead use a similar characterе("ye") that is phonetically different. This is simply because on old keyboards didn't hadёand even now it's placed far on the place of~. So many texts and books doesn't use the char so the AI trained translators too.I initially was more about to help with a translation service. The translation I made during a few days when I had a time. The missing "few" plural isn't critical. Something may be changed or reworded later and that's one of the reason why the continuous translation services allows not to burden developers with many small PRs.
Thank you, good to know. On the article that you mentioned used separate tags but not the ICU. As for me as a translator this is less convenient, known and difficult to modificate. Hope the Weblate will support this syntax to minimize possible errors.
OK then, sorry if I wrongfully accused you. Your work is appreciated.
Sorry, still not very convinced - I don't know the service host in person, and it's dangerous to express endorsement for some random guy on the internet these days (especially in China). Also, as someone who has translated a few other projects with different tools, I personally prefer even notepad.exe over Weblate.
I'm planning to just develop a client-side web editor specialized in Phocid that has better support for MessageFormat.
You can actually configure Weblate to check for basic syntax errors (Add
icu-message-formatto the project's flags), but that's mostly useless because it doesn't actually understand MessageFormat (for example, it enforcespluraleven for languages that don't have plural forms).I agree, and importunately same for any other service including the F-Droid itself. In the F-Droid translators chat discussed to create own Weblate instance but they are too busy.
sounds interesting
I removed the project on the Toolate.
The client-side web editor is now live: https://sunsetware.org/phocid/translate/
(This editor makes several assumptions about strings.xml, so it will likely not work with most other Android apps.)