[Phpslash-devel] i18n
Brought to you by:
joestewart,
nhruby
From: Alexander B. <ale...@ba...> - 2003-07-16 19:21:45
|
I use phpslash-0.7.2 for a German speaking site. Consequently I need a complete translation. As far as I see, the procedure is as follows: Once you find a string in a template you 1. create a entry in include/locale/en.php 2. put a translation in include/locale/de.php 3. make up a macro name 4. substitute the string with the macro name, across all themes 5. have a look for the template file name in *.php and add a pslgetText statement to "$template->set_var" Of course the string can occur more than once in multiple templates. In some languages the translation can be different, according to context, though. a) What directory should I diff against? phpslash-ft/public_html/templates/en or phpslash-dev/include/templates/en b) Is there a system behind template macro names? c) How should I handle different word order or higher macro levels? For example from the {DEPT} dept. is translated as Aus der Abteilung {DEPT} |