Skip to content

Conversation

@yurtpage
Copy link

The Fastlane app description also needs to be translatable, especially for F-Droid that doesn't have auto-translation. The Keyboard is intended for a wide range of people, including those who aren't programmers and doesn't know English.
To make the metadata translatable many apps added the Crowdin Configuration YAML File.
After the change translators will see the full_description.txt and short_description.txt in the Crowdin interface.

@rkkr
Copy link
Owner

rkkr commented Feb 17, 2025

As of now Crowding isn't connected to GIT files directly due to mismatches between region codes and special formatting within the strings. I copy-paste them manually. This would probably work for the F-Droid part but not for strings.xml. If app descriptions are being translated then Play Store one would need to be merged.

@yurtpage
Copy link
Author

Other apps using the yaml without issues. Maybe that was an old problem that is already fixed?

@rkkr
Copy link
Owner

rkkr commented Feb 18, 2025

They did fix the "special formatting" a while ago. I haven't checked if they handle the android locales properly. Sublocales like values-pt-rPT didn't survive the roundtrip thru crowdin.

@yurtpage
Copy link
Author

@rkkr
Copy link
Owner

rkkr commented Feb 18, 2025

The linked app has all folders in format -locale-sublocale. Here some are just -locale. That mixing will cause issues. -locale-sublocale is probably the %android_code% format in the config.

@yurtpage
Copy link
Author

Is it possible to contact the Crowdin support and ask them to not add the region for locales that doesn't have the region specifics? How the Android behaves itself, when the there is values-de-rDE then will it show the German for those who's locale is de-AT?

@rkkr
Copy link
Owner

rkkr commented Feb 23, 2025

That is probably the idea to show de for everything de-*. That's how LatinIME was originally made and I don't really want to deal with changing it.

@yurtpage
Copy link
Author

It looks like the F-Droid is totally fine to have a region in locale but show a general locale for locales that have only one region. So basically it's safe to merge the PR.
Other apps works like this and it looks like there no problems.

@rkkr
Copy link
Owner

rkkr commented Mar 31, 2025

It's not F-droid that I'm worried about, it's the Android. /app/src/main/res/values-%android_code%/%original_file_name% is not correct as some of the translations are in %locale% format and the PR that Crowding makes messes up the file structure as it doesn't persist the original format. I have tried that when initially setting up the Crowdin and had to roll back.

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

Successfully merging this pull request may close these issues.

2 participants