Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

App name wrognly set to Viquipèdia (Wikipedia in Catalan) #40

Open
jmontane opened this issue Aug 4, 2015 · 2 comments
Open

App name wrognly set to Viquipèdia (Wikipedia in Catalan) #40

jmontane opened this issue Aug 4, 2015 · 2 comments

Comments

@jmontane
Copy link

jmontane commented Aug 4, 2015

Hi,

with Catalan configured as phone language, Android app name is wrongly shown "Viquipèdia" (Catalan translation for Wikipedia), instead of correct one Viccionari (Catalan translation for Wiktionary). [1]

If I configure Android in Spanish, then app name is shown properly: Wikcionario (Spanish translation for Wiktionary). So I guess there is an issue with Catalan translation, but this string was translated years ago [2]

Thanks!

[1] https://twitter.com/unjoanqualsevol/status/628534081349910528
[2] https://translatewiki.net/w/i.php?title=Wikimedia%3AWiktionarymobile-sitename%2Fca&type=revision&diff=3852515&oldid=3823182

@Amgine0
Copy link

Amgine0 commented Aug 18, 2015

Just a note: as far as I am aware, WMF abandoned this project immediately on its completion. All ongoing updates are simply automated process.

jayvdb added a commit to jayvdb/WiktionaryMobile that referenced this issue Jan 13, 2016
The app_name for many languages was translations of 'Wikipedia'
instead of 'Wiktionary'.  Update using sitename.

Fixes wikimedia#40
@jayvdb
Copy link
Member

jayvdb commented Jan 13, 2016

I've downloaded the Wiktionary v1.0.1 apk from the App Store, and the translation message appears to be correct

$ grep sitename assets/www/messages/messages-ca.properties
sitename=Viccionari

However the file resources.arsc contains Viquipèdia, and the app name is loaded from
https://github.com/wikimedia/WiktionaryMobile/blob/master/res/values-ca/strings.xml

They were set with this commit:
6aad9f6

When that commit occurred, it was the Wikipedia app.

i.e. here is the same commit in the WikipediaMobile https://github.com/wikimedia/WikipediaMobile/commit/6aad9f6384b86a9d10a79cf7d442ab90f444a317

@Tpt added a Python script https://github.com/wikimedia/WikipediaMobile/blob/master/scripts/setI18n.py to the WikipediaMobile app to automatically update the strings.
https://github.com/wikimedia/WikipediaMobile/commit/93f525e11d8191aedd0ab8c70455b9e5e0126fc7

I've slightly modified that script to use 'sitename' instead of 'appname', and wallah (there it is) .. fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants