Author
Topic: Adding FULL support for other regions/country/languages (Read 5084 times)

I'm using lmce for about a week or so and am very pleased with it. I've been using open source software for quite some time now and would like to keep using it.

I'm from the Netherlands and faced the fact that:

- LMCE does not come with Dutch language support- LMCE does not find my location

Because of this some of the functions of lmce are hard to get working. I had a hard time getting mythtv to work.

I would like to share my experience with other users. In my opinion the best way of doing this is to add support for my particular situation to lmce.

I've already found someone who is working on dutch language support. I will contact him to get working on this.

My question/proposition is the following:Could we create a separate project to add support for other regions/country/languages.I think that if we could create a project for this we could offload some of the work the "Programming Dev Wizards" are doing to less technical people (like me).Maybe as a start we could create a web interface for translating lmce.

I could not find a similar project/initiative so if exists please direct me to it.

Hi, any translations need to go into the DB, so you will need to coordinate with "Programming Dev Wizards" but the actual translation can of course be done independently.

To see the strings in English type this on an LMCE core: echo "SELECT PK_Text, Text.Description, Text_LS.Description AS TextToTranslate FROM Text, Text_LS WHERE Text_LS.FK_Language=1 AND PK_Text=FK_TEXT;" | mysql -uroot pluto_main

If you can hand the developers a text file with the PK_Text number followed by a translation of the TextToTranslate, then we can do the rest.

Hi, any translations need to go into the DB, so you will need to coordinate with "Programming Dev Wizards" but the actual translation can of course be done independently.

To see the strings in English type this on an LMCE core: echo "SELECT PK_Text, Text.Description, Text_LS.Description AS TextToTranslate FROM Text, Text_LS WHERE Text_LS.FK_Language=1 AND PK_Text=FK_TEXT;" | mysql -uroot pluto_main

If you can hand the developers a text file with the PK_Text number followed by a translation of the TextToTranslate, then we can do the rest.

I'll look in to this.... My brother in law is a php programmer. I'll se if he could create a frontend for this so other, non technical people, can participate in translating lmce.

Do you know what other parts are region specific? For example, I would like to share my mythtv settings with others in a way thats usable for non technical people.

I tried to translate the Linux MCE to Russion , please find my scripts which perform a first automatic translation:

First script , which takes the string from DB and traslate it to russion( Every one could change this to it lamgauge):#### Global variableslang_id=4;base_lang_id=1;lang_desc='Russian';###char_set='utf8';###char_set='koi8r';###char_set='cp1251';char_set='cp866';

### Read the next string id for english language fk_text_=`mysql -u$dbuser -h$dbip -e "SELECT FK_Text FROM pluto_main.Text_LS where FK_Text > $fk_text and FK_Language=$base_lang_id and Description not like '%<\%%' order by FK_Text Limit 1"`;

### clean field name fk_text=`echo $fk_text_ | cut -f 2 -d " "`

done;

The second script is a perl script which perform an automatic translation from internet ( not such good , but for first time is good enough)

However it is not enough.The OrbiterGen could not recognize the fonts.Anyone has an ideas where in DB , I need to update the fonts?Even French and German , which exist in DB could not be recognized well enough.

Hey wout , I forgot to explain that my scripts are support currently 6 languages :English French German Italian Portuguese Russian Spanish

You only to modify them a little to change the language.The translation are taken from Babelfish.the second script I took from some Linux forum.( I am really sorry , I forgot who wrote it originally).Dan , could you explain more what are additional changes should be done in DB in order to support additional fonts like Russian and etc.

nice scripts, I changed them a little for french but I still have a problem, only yahoo service work (babel make timeout) and yahoo work only for 100 query after what say that english langage doesn't work !!I need to figure out what happened:

If anyone is interested in doing WebAdmin language translations, please PM me and I'll send you the files you need to translate. Someone i already working on a German translation right now, and it would be nice to add more, as the web admin can be very hard to navigate in an unfamiliar language

easyest way is to follow my link above, take my script (same little bit modified), create a table in language with new ID for italian, maybe 4,5... whatever... then change the langage in the script and the langage id (of the sql table)

Only one problem, with this script (yahoo translation), after 50, 100 word, the yahoo website, looks like not allowing the translation... so you have to wait for some hours then retry from the last translated word !!