[mythtv] [PATCH] Updated internationalization patch

Leandro Dardini ldardini at tiscali.it
Sun Apr 13 18:33:19 EDT 2003


----- Original Message -----
From: "Isaac Richards" <ijr at po.cwru.edu>
To: "Development of mythtv" <mythtv-dev at snowman.net>
Sent: Sunday, April 13, 2003 4:53 PM
Subject: Re: [mythtv] [PATCH] Updated internationalization patch


> On Sunday 13 April 2003 09:38 am, Leandro Dardini wrote:
> > In attach the update to the internationalization code after the latest
code
> > change.
> >
> > Thank you.
> >
> > Leandro
> >
> > PS
> > Message reposted due I was caught by the 40k limit...
>
> Hrm.. I've applied most of this, but there needs to be a better way to
handle
> the ui.xml files..  Those are going to be customized depending on the
theme,
> so I don't think distributing a ui_<locale>.xml file will work, really.
>
> Isaac

I agree with you: it will be a very hell for language mantainers to catch
with the modifications of the original theme mantainer. The problem is that
the QT internationalization functions need the text string to be static in
the source file, so we have to found a different way. Maybe we can use
something like this, adding a lang="??" to the value field, resulting in
only one ui.xml file.

...
<container name="norecordings_info">
      <textarea name="topline" align="center" draworder="8">
         <area>20,80,580,30</area>
         <font>info</font>
         <value>To schedule a recording, exit this screen and</value>
         <value lang="IT">Per programmare una registrazione, esci da questa
schermata e</value>
      </textarea>
      <textarea name="botline" align="center" draworder="8">
         <area>20,110,580,30</area>
         <font>info</font>
         <value>Select 'Schedule a Recording' from the Main Menu</value>
         <value lang="IT">Seleziona 'Programma una registrazione" dal menu
principale</value>
      </textarea>
    </container>
...


> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list