[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: KGeography needs your help
From:       Albert Astals Cid <tsdgeos () yahoo ! es>
Date:       2005-08-03 16:25:08
Message-ID: 200508031825.08742.tsdgeos () yahoo ! es
[Download RAW message or body]

A Dimecres 03 Agost 2005 10:56, David Faure va escriure:
> On Wednesday 03 August 2005 09:44, Marek Laane wrote:
> > 3) Country is Ameerika Ühendriigid (United States of America) but "flag
> > of" is "Ameerika Ühendriikide lipp" (note that ending changes quite
> > radically)
>
> Then all we need is to generate a file with i18n("flag of United States")
> etc. for gettext to run upon,
> and call i18n(QCString("flag of ") + countryName.utf8()) in the code,
> right?
>
> The trick is to generate a .cpp file and not compile it at all, just have
> it there for the messages target. Some perl/python/whatever script could
> easily generate that file, given a list of countries.
>
> Much like kword/stylenames.cc (except that we use a context there, but for
> "flag of foo" no context is needed in addition).

I already have such parser and file, the problem is not how to generate the 
translations, the problem is that this way of generating the translations 
creates a explosive number of messages in the .po file, 4357 currently.

Albert

		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic