gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Updating dem listings for Brazil


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Updating dem listings for Brazil
Date: Thu, 17 Nov 2011 12:34:52 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 16, 2011 at 11:54:58PM +0000, Jim Busser wrote:

> > no need to JOIN, simply pass whatever you want to translate:
> > 
> >   select _('string to translate', 'target language')
> > 
> > this is an SQL function provided by GNUmed
> 
> I can understand how this works *forward* provided you have a 'starting' 
> (base) value
> 
>       select _('parent', 'de_DE') ;          --->       Elternteil

Or

        select _('Corumba', 'pt_BR');   --->    Corumbá

Yes.

> Moreover I can't see that the above lends itself to be run
> backwards to provide the desired base value 'foo' which
> translates to Corumbá
> 
>       select _('foo', 'pt_') ;          --->       Corumbá

Unless there's a value "Corumbá" in i18n.keys which
translates to "Corumba" :-)  (not that I suggest doing so
ATM - I don't still fully understand the problem).

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]