-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Wrong language codes for gradle-play-publisher && f-droid #8423
Comments
The issue with this is that the same code is used for both Google and Apple. Unfortunately, they don't agree on them. See #5522 (comment) (and whole issue for discussion between @eighthave and @spacecowboy on this). Maybe documenting the best practice would be the way to go? Or should Weblate have separate flavors for Apple and Google? |
I don't agree in them either, but this is real situation on the ground :(
Is it possible to set language code manually? I've renamed
This is a good question. I guess that fastlane uses the same structure both for Apple and Google, but I am not 100% sure. |
I think the best way to handle it is the consuming tool (e.g. Fastlane, |
This should work, just make sure you commit any pending changes in Weblate before renaming. Otherwise, it might happen that pending change Weblate creates another file in the |
What I have done is
This will fix the problem. Until some dude shows up and creates a new translation which gets a bad code. Then it's the same procedure again. It sucks but once people have created the languages you don't have to do it again. I can also recommend using I've also used scripts that delete certain unsupported languages before running a release. |
This is what I do every time when somebody adds a new language... |
Okay, let's add separate naming for Apple App Store and Google Play. |
Thank you for your report; the issue you have reported has just been fixed.
|
I would recommend putting this link next to the
Could you point me to a project where you have that setup? Sounds quite useful. |
Thanks a lot! |
@eighthave On this line here: https://gitlab.com/spacecowboy/Feeder/-/blob/master/fastlane/Fastfile#L67 |
When do we expect to see this change on hosted.weblate.org? I want to try. |
It is already there. |
Edit: Aha, it's at the very bottom! Also btw, why are the dropdown lists not sorted alphabetically? |
Because nobody considered it here. Fixed in 6541cad |
Describe the issue
App store metadata files format uses wrong short two-letter language codes for gradle-play-publisher && F-Droid. For example,
hu
instead ofhu-HU
,de
instead ofde-DE
and so on.I already tried
Steps to reproduce the behavior
No response
Expected behavior
Below is the correct list of language codes retrieved from Google Play:
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: