[josm-dev] Cleaning up i18n/build.xml

Dirk Stöcker openstreetmap at dstoecker.de
Thu Jan 29 08:31:20 GMT 2009


On Wed, 28 Jan 2009, Igor Shubovych wrote:

>> One thing about translation: I fear for each translation the english
>> strings are replicated. Is there a way to reduce the needed space in final
>> software when combining all languages (e.g. using another hash table type)?
>
> I am not sure if understand you correctly. We may use some client database
> like Sqlite or Derby.

No. In theorey gettext stores strings in a hash table with english 
strings as key and translated as value. Now when we compile the strings 
independently as I think we do now I fear we duplicate the english strings 
for each language. Storing e.g. an array of translated strings instead of 
the individual string would reduce that replication. But I had no real 
deep look into the way Java-gettext stores the data.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list