On Tue, Sep 23, 2008 at 12:41:51PM -0700, Simon B. wrote:
> I just read up on gettext. Lookups are done using a table with
> original strings and hashes, and the localized string at the end. The
> obvious waste is that the original strings are stored once in the
> executable, and once in each compiled translation file.
> This issue already bit me: Sometimes a word ("file" 
> http://en.wiktionary.org/wiki/file
> ) needs different translations depending on usage. Then straight hash-
> lookup won't do it.

You can provide context[0] for a string to differentiate it from another
instance of the same string.

[0] - http://www.gnu.org/software/gettext/manual/gettext.html#Contexts

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to