Bug 355693

Summary: KDE Connect for Android does not support ISO 639-2 language codes
Product: [Applications] kdeconnect Reporter: Enol P. <enolp>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Android   
OS: Android 5.x   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Enol P. 2015-11-21 13:54:37 UTC
Since Android 5.0 is now possible to use ISO 639-2 language codes like «ast» or even «eng». KDE Connect for Android is fully translated into Asturian, but that translation is not showed up.

Versions prior to Android 5.0 cannot understand ISO 639-2, so that translations using three letter-code will be never showed.

Reproducible: Always

Steps to Reproduce:
1. Set a three letter-code language on Android 5.X or greater
2. Open the app
3. See that KDE Connect is showed in English

Actual Results:  
Completed translations for three letter-code languages in this app are not showed up.

Expected Results:  
Support for ISO 639-2 language codes

Link to Android Issue Tracker: https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=63358 this link contains two more in the last reply.
Comment 1 Albert Vaca Cintora 2015-11-30 15:43:47 UTC
It looks like the the software we are using to convert .po files to Android .xml files doesn't support 3-letter codes. Opened a bug report to them: https://github.com/miracle2k/android2po/issues/42
Comment 2 Albert Vaca Cintora 2015-12-01 11:25:38 UTC
It's actually easier than that, and we just need to update that software :) The latest version seems to support 3-letter language codes. I will ask Albert Astals, the maintainer of the translation system, to update it.
Comment 3 Enol P. 2015-12-01 12:44:37 UTC
Great! i'll will wait for that.

Thanks. Bye


(In reply to Albert Vaca from comment #2)
> It's actually easier than that, and we just need to update that software :)
> The latest version seems to support 3-letter language codes. I will ask
> Albert Astals, the maintainer of the translation system, to update it.
Comment 4 Enol P. 2016-01-13 13:17:31 UTC
Are there news for this?

Bye.
Comment 5 Albert Vaca Cintora 2016-01-14 03:05:34 UTC
I was waiting on this:

https://github.com/miracle2k/android2po/issues/42

But it looks like there is little hope :/ 

I will see if we can have the dependency built from sources instead. I will update this bug to keep you posted.
Comment 6 Albert Vaca Cintora 2016-01-16 11:35:13 UTC
Right after I posted here they made the release we were waiting for :) 

The ast translation is already in the repository, so once I make a new release it will be available on the Play Store. Expect it by Monday.
Comment 7 Enol P. 2016-01-17 16:01:14 UTC
Awesome news.

Thank you for your support.