AnySoftKeyboard / AnySoftKeyboard

Android (f/w 2.1+) on screen keyboard for multiple languages.
http://anysoftkeyboard.github.io/
Apache License 2.0
2.85k stars 823 forks source link

[UI Bug] [Brazilian Portuguese] Keyboard name is 'Root', should be 'Brazilian Portuguese' #2013

Open papb opened 4 years ago

papb commented 4 years ago

Moved from https://github.com/AnySoftKeyboard/LanguagePack/issues/304


When viewing Virtual Keyboard settings:

It shows this mysterious Root name but I would expect Brazilian Portuguese

menny commented 4 years ago

This is curious, in the as source code it says the right value: https://github.com/AnySoftKeyboard/AnySoftKeyboard/blob/master/addons/languages/brazilian/pack/src/main/res/values/brazilian_strings.xml

menny commented 4 years ago

Which version of the language pack do you have?

papb commented 4 years ago
joukewitteveen commented 4 years ago

Perhaps related: when I search for AnySoftKeyboard in the f-droid app, the ASK app itself is listed as 'Brazilian Portuguese for AnySoftKeyboard' (Version 1.10.1109). As far as I can tell, this listing item is not a language pack, but the core of ASK.

Edit: Could this be because in the strings for the brazilian language pack, the key name app_name is not prefixed with brazilian_? In that case, the problem is slightly more widespread:

$ git grep -lF '"app_name"'
addons/languages/brazilian/apk/src/main/res/values-pt/strings.xml
addons/languages/brazilian/apk/src/main/res/values/strings.xml
addons/languages/finnish/pack/src/main/res/values-fi/strings.xml
addons/languages/finnish/pack/src/main/res/values/strings.xml
addons/languages/greek/apk/src/main/res/values/strings.xml
addons/languages/ossturkish/apk/src/main/res/values/strings.xml
addons/languages/romanian/apk/src/main/res/values/strings.xml
addons/languages/spain/apk/src/main/res/values/strings.xml
addons/languages/tamazight/apk/src/main/res/values/strings.xml
addons/quicktexts/bbcodes/pack/src/main/res/values/strings.xml