[mythtv] Yet another internationalization patch...

Leandro Dardini ldardini at tiscali.it
Sun May 4 22:27:08 EDT 2003


This time I throw away my old "menu*_it" code and instead add support for
different language in the same xml file, using attribute "lang". I modify
xmlparse and themedmenu to allow the lang attribute in either menu*.xml and
in ui.xml

For example:

<button>
     <type>VIDEO</type>
     <text>Videos</text>
     <text lang="IT">Video</text>
     <action>EXEC mythvideo</action>
     <depends>mythvideo-settings.txt</depends>
   </button>

Following advice from Ramon Roca I change the settings variable from
"Locale" to "Language".

Leandro


-------------- next part --------------
A non-text attachment was scrubbed...
Name: i18n.diff
Type: application/octet-stream
Size: 16287 bytes
Desc: not available
Url : /pipermail/attachments/20030504/1e7e48c5/i18n.obj


More information about the mythtv-dev mailing list