How to make a backend module multilingual ?

Gesperrt
hrj
Beiträge: 19
Registriert: Di 2. Dez 2003, 12:02
Wohnort: Slovakia
Kontaktdaten:

How to make a backend module multilingual ?

Beitrag von hrj »

Hi core developers,

I am just evaluating Contetido and trying to use it for slovak/english web.
I have found some bugs regarding i18n (see my post in section Bugs 4.4, date 2003-12-02).

My next question is:
Is it possible to make a multilingual module in backed?
It seems that the texts are hardcoded (e.g. Module Hauptnavigation, in Input (Eingabe) there are texts "Baum wählen", etc.).
What to do with it?

regards
Jozef
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

you can use constructs like this in the input modul...

Code: Alles auswählen

<?php
     echo "<OPTION VALUE=\"\">".i18n("--- None ---")."</OPTION>\n";
?>

<OPTION VALUE=""><? echo i18n("--- None ---"); ?></OPTION>
timo
Beiträge: 6284
Registriert: Do 15. Mai 2003, 18:32
Wohnort: Da findet ihr mich nie!
Kontaktdaten:

Beitrag von timo »

Additional note: You have to edit the .po/.mo files and if you upgrade, you have to merge your changes.

I don't know how we'll handle this problem in the future, but stay tuned.
hrj
Beiträge: 19
Registriert: Di 2. Dez 2003, 12:02
Wohnort: Slovakia
Kontaktdaten:

Beitrag von hrj »

Hi Timo and emergence,

Thanks for advice.
I have once again looked at functions.i18n.php and found the function you mention.
"Alles klar" :wink:

I am continuing with evaluation and i will probably prepare a small meditation "Contenido & i18n - CMS for Central European countries".
Stay tuned.

Moechtet Ihr die Meditation lieber auf deutsch? :wink:
Ich kann es versuchen, kein hochdeutsch und mit vielen Fehler.

Regards
Jozef
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

egal bischen übung finde ich schadet nicht...
Gesperrt