gettext: US and UK?



I have an application in which the difference between
American and British English is significant.  Can gettext
deal with the distinction?

(Preferably without requiring one or the other set of
users to specify a text domain that other applications
would not handle.)

I guess what I'm asking is: can I have subdomains of text
domains, such that gettext will revert to the "parent"
domain if an application lacks translations in a specified
subdomain? -- e.g. try en_US first, and revert to en if
en_US is missing.  Then people who really wanted the US
texts for my program could specify en_US, and other
programs would still cope.

(The application is music software.  American and British
note names are different: "eighth note"/"quaver", "whole"/
"semibreve" etc.  The default should probably be British,
if only to avoid driving me nuts while developing it.)


Chris



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]