|
last changed : 01/24/10
For every supported language exists a respective file in the "lang" directory e.g. efileman_german.pm contains all necessary values for german speaking users. You can change these values or create a new language file as described below. Copy an existing language file and rename it from e.g. efileman_english.pm to efileman_chinese.pm. Adjust the charset variable to the respective value, for chinese set $charset = "gb2312". See the documentation on www.w3.org for another charset value. Don't rename the $TEXT variable and use only capital letters e.g. $TEXT{'filespace'}. $text{'filespace'} won't work. Don't rename the values inside the $TEXT variable. What you can do is to add a new $TEXT value e.g. $TEXT{'mytext'} and use in your skin file as ##TEXT'mytext'##. See skins section for more information. You can use HTML tags in all $TEXT variables wich used to print messages to the user, e.g. $TEXT{'comment'} or $TEXT{'sendmailsuc'}. You can adjust the format of date and time by changing the four variables $TEXT{'month'}, $TEXT{'weekday'}, $TEXT{'date'} and $TEXT{'time'}. Use for example abbreviations for month and weekday values. Change the order or the separate characters of time and date or remove something, e.g.:
Here we have changes in comparison to efileman version 7.04. These values are capitalized.
The variables $TEXT{'date'} and $TEXT{'time'} are used for display of timestamp of files and directories and are represented there as ##dfdate## and ##dftime##. The $TEXT{'datetime'} variable enables the adaption of complete display of current server(!) date and time according the respective language, e.g. Here we have changes in comparison to efileman version 7.04. Use the predefined values $TEXT{'time'} and $TEXT{'date'} in curly brackets.
Basically all language file varibale are represented in skin files according to the excample: $TEXT{'upload'} by ##TEXT'upload'##, The language file is Perl code ! |
|