On 11/09/12 09:21, Arthur Richards wrote: > Hi Strainu, > > There is some documentation about this here: > https://www.mediawiki.org/wiki/Wiki_Loves_Monuments_mobile_application/Data_issues > > Briefly, we've taken a datadump of ISO-3166-2 data from > commondatahub.org <http://commondatahub.org>, which we use to provide > the mapping from ISO-3166-2 region codes to their English names. We have > put together a script that then takes all of those names and attempts to > auto-'translate' them by checking the name against the interwiki > language links API. > > We can easily override the automatic 'translations' that we have. If > you'd like to do it yourself, you should fork the repository on github, > follow the instructions in the readme file, and submit a pull request: > https://github.com/awjrichards/WLM-ISO-3166-2 > > Alternatively, you can file a bug in bugzilla with a mapping of > ISO-3166-2 region codes to regional names, and we can get the > translations added when we are able. > > All of the WMF staff will be busy in our annual all-staff meetings for > the rest of the week, so forgive us if we are unable to respond as > quickly as usual. > > Thanks! > Arthur
Oh, cool. I had suspected it was a method like that, from c18707 / c18708, but had not found the WLM-ISO-3166-2 repo (I looked for it in WLMMobile and repos of wikimedia). I no longer need to ask you :) I have some ideas on how to structure them, but didn't build it into a commit yet. _______________________________________________ Wiki Loves Monuments mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikilovesmonuments http://www.wikilovesmonuments.org
