Page MenuHomePhabricator

i18n updates should be fetched periodically
Closed, DeclinedPublic

Description

Author: philinje

Description:
Let's grab the translation updates on a periodic basis such as every day or on app launch. Possibly related to 39872


Version: unspecified
Severity: enhancement

Details

Reference
bz39876

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:55 AM
bzimport set Reference to bz39876.
bzimport added a subscriber: Unknown Object (MLST).

Not really related other than that it'd be fetching something. :)

In theory we could probably fetch the files from github on app launch, and possibly cache them locally in case you later launch while offline.

eg:

https://raw.github.com/wikimedia/WLMMobile/master/assets/www/messages/messages-es.properties

I'm not sure what kind of performance hit this would entail; either it would delay app initialization a bit or the 'net translations could be loaded asynchronously (in which case you might get some things not updated).

I'd rather that we just get the translations done and updated in a reasonable timeframe, but that means we have to stop changing strings around at the last minute. ;)

Talked about this with Siebrand
We should fetch the latest update from the live git repository

The problem to think about is if this introduces is what if messages get deleted or changed.

For example if "Press the red button" changes to "Press the green button" and the button in an old version of the app is still red this is a problem.

Mass-closing WLM app issues as WONTFIX since we won't be maintaining the same client app in future (will migrate these things to the Commons app).