Re: Internationalizacion of the GLI

Andres Blanc <[email protected]> Fri, 18 Feb 2005 19:37:48 -0300
Newsgroups gmane.linux.gentoo.installer
Message-ID <[email protected]>
On Fri, 18 Feb 2005 11:25:18 -0600, Andrew Gaffney <[email protected]> wrote:
> Andres Blanc wrote:
> > The other day I was looking trough the installer source code, and
> > wondering if there is any plan to include regionalized, or at least
> > translated versions of the GLI in the proyect.
> >
> > For what I saw, there are several simple ways to implement this, with
> > very little or any changes at all inside the oringinal code.
> 
> This is a good idea. I have been planning to implement this for a while. Last
> night, I created the GLILocalization module which does nothing more than load a
> tab-separated utf-8 encoded file with 3 columns (message id, language, and
> localized message) and provide a function to retrieve these messages/errors.
> Over the next few days, we will be fixing the code (backend and frontends) to
> use these localized messages instead of the hardcoded english messages.
> 
> Once we have figured out all the messages that we will need, that's when we'll
> need help with translation. When we get to that point, I'll post back here.
> 

Will all messages of each language be on the same file?. 
Wouldn't that make it harder of to mantain?

Andres