dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #01025
Re: localization question
On Tue, Apr 17, 2012 at 3:37 PM, Wilson,Randy <rwilson@xxxxxxx> wrote:
> Thanks for the quick reply Lars. Yes we are talking about the data element and other object translations... not the UI. It would be good to push the locales into a table for future versions.
>
> Now that we've convinced the system that Swahili "sw" is really Kinyarwanda and I've added 3 rows for each data element into the translations table (objectproperties: name, shortName and description).
>
> "DataElement";1318;"sw";"name";"Umubare w'ababyariye mu rugo"
> "DataElement";1318;"sw";"shortName";"Ababyeyi_wa_biyare"
> "DataElement";1319;"sw";"description";"AccouchDomicileRefere"
>
> It seems to work, but we can't seem to sort out the cache issue scientifically. As I mentioned to Bob, there is some combination of deleting local cache, logging out, deleting system cache (using the data administration option) that sometimes works, but not always. I suppose most users won't be changing languages on the fly as we do, but it is difficult to demonstrate the capability.
>
> Can we get a "clear cache for dummies" menu option under help that goes to all the right places?
I recommend working with the user interface here.. just click the blue
globe-like icon next to each element in lists. I have tested on
tanzania server where they have english and swahili and it works fine
there.
If you use the database you will have to clear the application cache
in data admin module, yes. Nothing else should be required.
Removing the "default" english translations from the translation table
is recommended (if they are there). They are not in use anymore.
Lars
References