Wiki source for PhplistTranslationsFrontend
[[PhplistTranslationsFrontend phpList Translations of the Public Interface (frontend)]]
----
===== Translations of the Public Interface (frontend) =====
The Frontend refers to all the pages viewable by the **public** (such as subscribe page, preferences page, etc.), as opposed to the administrators (such as attributes, send a message, etc.).
All frontend texts are currently stored in the **##texts##** directory that can be found in the ##lists## directory in the phplist distribution. To translate the texts (or to change the default ones), edit the **##english.inc##** file and save it to some other name. Then refer to this file in your config file. You'll find more instructions below.
==== Current frontend translations and updates ====
|!|{border:1px solid black; background-color: white; color: black; width: 800px; text-align: center}||
||{background-color:lightblue} ||(x:2){background-color:lightblue}**Language files current distribution** || ||{background-color:lightblue} ||(x:4){background-color:lightblue}**Updated language files**||
||{background-color:lightblue}**Language**||{background-color:lightblue}**file**||{background-color:lightblue}**strCharSet**|| ||{background-color:lightblue}**v2.10.7 update**||{background-color:lightblue}**strCharSet**||{background-color:lightblue}**UTF-8**||{background-color:lightblue}**download update**||
||Afrikaans||afrikaans.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Arabic||arabic.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
|| ||arabic_utf8.inc||UTF-8||{background-color:lightblue}||--||UTF-8||done||[[http://mantis.phplist.com/view.php?id=13508 download]]||
||Bulgarian||bulgarian.inc||Windows-1251||{background-color:lightblue}||--||--||--||--||
|| ||bulgarian_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15398 download]]||
||Catalan||catalan.inc||ISO-8859-1||{background-color:lightblue}||done||--||done||[[http://forums.phplist.com/viewtopic.php?p=85234#p85234 download]]||
|| ||catalan_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15598 download]]||
||Chinese (traditional)||tchinese.inc||UTF-8||{background-color:lightblue}||--||--||--||--||
||Chinese (simplified) ||schinese.inc||UTF-8||{background-color:lightblue}||--||--||--||[[http://mantis.phplist.com/view.php?id=15159 download]]||
||Croatian||croatian.inc||windows-1250||{background-color:lightblue}||--||--||--||--||
||Cszech||czech.inc||Windows-1250||{background-color:lightblue}||--||--||--||--||
||Danish||danish.inc||ISO-8859-1||{background-color:lightblue}||?||--||--||[[http://mantis.phplist.com/view.php?id=15385 download]]||
||Dutch (Belgium)||belgianflemish.inc||ISO-8859-1||{background-color:lightblue}||done||---||--||--||
|| ||belgianflemish_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||--||
||Dutch (Netherlands)||dutch.inc||ISO-8859-1||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15331 download]]||
||English (British)||english.inc||ISO-8859-1||{background-color:lightblue}||done||--||--||--||
||English-Gaelic||english-gaelic.inc||ISO-8859-1||{background-color:lightblue}||done||--||--||--||
||English (USA)||english-usa.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||English (USA)||usa.inc||ISO-8859-1||{background-color:lightblue}||--||-- ||--||-- ||
||Estonian||estonian.inc||ISO-8859-4||{background-color:lightblue}||--||-- ||--||-- ||
||Farsi (Persian)||persian.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||[[http://forums.phplist.com/viewtopic.php?p=73514#p73514 download]]||
||French||french.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||[[http://mantis.phplist.com/view.php?id=15183 download]]||
||German||german.inc||ISO-8859-1||{background-color:lightblue}||done||UTF-8||done||[[http://forums.phplist.com/viewtopic.php?p=60149#p60149 download]]||
||German (Switzerland)||swissgerman.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Greek||greek.inc||iso-8859-7||{background-color:lightblue}||--||--||--||--||
||Hebrew||hebrew.inc||windows-1255||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15160 download]]||
||Hungarian||hungarian.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done ||[[http://mantis.phplist.com/view.php?id=15310 download]] ||
||Indonesian||indonesian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||[[http://mantis.phplist.com/view.php?id=11143 download]] ||
||Italian||italian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Japanese||japanese.inc||EUC-JP||{background-color:lightblue}||--||--||--||--||
||Norwegian||norwegian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Polish||polish.inc||ISO-8859-2||{background-color:lightblue}||--||--||--||--||
||Portuguese (Brazil)||portuguese.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Portuguese (Portugal)||portuguese_pt.inc||ISO-8859-15||{background-color:lightblue}||--||--||--||--||
||Romanian||romanian.inc||ISO-8859-2||{background-color:lightblue}||--||--||--||--||
||Russian||russian.inc||windows-1251||{background-color:lightblue}||--||--||--||--||
||Slovenian||slovenian.inc||UTF-8||{background-color:lightblue}||done||-- ||--||[[http://mantis.phplist.com/view.php?id=15578 download]] ||
||Spanish (Spain)||spanish.inc||ISO-8859-1||{background-color:lightblue}||done||--||--||--||
|| ||spanish_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF8||done||[[http://mantis.phplist.com/view.php?id=15390 download]]||
||Spanish (Latin America)||latinamerican.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Swedish||swedish.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Turkish||turkish.inc||ISO-8859-9||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15388 download]]||
||Ukrainian||ukrainian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Vietnamese||vietnamese.inc||UTF-8||{background-color:lightblue}||--||-- ||--||-- ||
=== Translating frontend language files ===
These are the general steps to take when translating the frontend language file:
- Copy ##texts/english.inc## and rename it to ##your_language.inc##
- Translate only the text strings to the right of the equal symbol (=), and make sure the translated text strings are kept enclosed in single quotes and have a closing semi colon (;)
- If you need to use quotes in your text strings, you must place a backslash (\) in front of them, e.g. ##I{{color text="\'" c="red"}}m sending##
- Finally, make sure you define the character set encoding you used for the translation by changing the ''$strCharSet'' value. UTF-8 (unicode) is the preferred character set, so if you can encode your translation in UTF-8, you can set this value: ''$strCharSet = 'UTF-8';'' around line 5 of your language file.
- Upload your file back to the ##lists/texts/## folder
- Edit your ##config.php## file and set $language_module = "english.inc"; to ''$language_module = "your_language.inc";''
**{{color c="red" text="Important information"}}**
~-Do **not touch** the English text on the left of the arrow: **only change** the translated text on the right of the arrow.
~-If you use a **quote** in the translated text, make sure to **escape it** (\') otherwise the file will fail to parse. //Example//: ''don't'' must be written ''don\'t''
**Related topics**
- [[TranslatorsList Translators Mailinglist]]
- [[PhplistTranslation phpList translation]]
----
CategoryTranslation
----
===== Translations of the Public Interface (frontend) =====
The Frontend refers to all the pages viewable by the **public** (such as subscribe page, preferences page, etc.), as opposed to the administrators (such as attributes, send a message, etc.).
All frontend texts are currently stored in the **##texts##** directory that can be found in the ##lists## directory in the phplist distribution. To translate the texts (or to change the default ones), edit the **##english.inc##** file and save it to some other name. Then refer to this file in your config file. You'll find more instructions below.
==== Current frontend translations and updates ====
|!|{border:1px solid black; background-color: white; color: black; width: 800px; text-align: center}||
||{background-color:lightblue} ||(x:2){background-color:lightblue}**Language files current distribution** || ||{background-color:lightblue} ||(x:4){background-color:lightblue}**Updated language files**||
||{background-color:lightblue}**Language**||{background-color:lightblue}**file**||{background-color:lightblue}**strCharSet**|| ||{background-color:lightblue}**v2.10.7 update**||{background-color:lightblue}**strCharSet**||{background-color:lightblue}**UTF-8**||{background-color:lightblue}**download update**||
||Afrikaans||afrikaans.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Arabic||arabic.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
|| ||arabic_utf8.inc||UTF-8||{background-color:lightblue}||--||UTF-8||done||[[http://mantis.phplist.com/view.php?id=13508 download]]||
||Bulgarian||bulgarian.inc||Windows-1251||{background-color:lightblue}||--||--||--||--||
|| ||bulgarian_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15398 download]]||
||Catalan||catalan.inc||ISO-8859-1||{background-color:lightblue}||done||--||done||[[http://forums.phplist.com/viewtopic.php?p=85234#p85234 download]]||
|| ||catalan_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15598 download]]||
||Chinese (traditional)||tchinese.inc||UTF-8||{background-color:lightblue}||--||--||--||--||
||Chinese (simplified) ||schinese.inc||UTF-8||{background-color:lightblue}||--||--||--||[[http://mantis.phplist.com/view.php?id=15159 download]]||
||Croatian||croatian.inc||windows-1250||{background-color:lightblue}||--||--||--||--||
||Cszech||czech.inc||Windows-1250||{background-color:lightblue}||--||--||--||--||
||Danish||danish.inc||ISO-8859-1||{background-color:lightblue}||?||--||--||[[http://mantis.phplist.com/view.php?id=15385 download]]||
||Dutch (Belgium)||belgianflemish.inc||ISO-8859-1||{background-color:lightblue}||done||---||--||--||
|| ||belgianflemish_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||--||
||Dutch (Netherlands)||dutch.inc||ISO-8859-1||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15331 download]]||
||English (British)||english.inc||ISO-8859-1||{background-color:lightblue}||done||--||--||--||
||English-Gaelic||english-gaelic.inc||ISO-8859-1||{background-color:lightblue}||done||--||--||--||
||English (USA)||english-usa.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||English (USA)||usa.inc||ISO-8859-1||{background-color:lightblue}||--||-- ||--||-- ||
||Estonian||estonian.inc||ISO-8859-4||{background-color:lightblue}||--||-- ||--||-- ||
||Farsi (Persian)||persian.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done||[[http://forums.phplist.com/viewtopic.php?p=73514#p73514 download]]||
||French||french.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||[[http://mantis.phplist.com/view.php?id=15183 download]]||
||German||german.inc||ISO-8859-1||{background-color:lightblue}||done||UTF-8||done||[[http://forums.phplist.com/viewtopic.php?p=60149#p60149 download]]||
||German (Switzerland)||swissgerman.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Greek||greek.inc||iso-8859-7||{background-color:lightblue}||--||--||--||--||
||Hebrew||hebrew.inc||windows-1255||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15160 download]]||
||Hungarian||hungarian.inc||UTF-8||{background-color:lightblue}||done||UTF-8||done ||[[http://mantis.phplist.com/view.php?id=15310 download]] ||
||Indonesian||indonesian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||[[http://mantis.phplist.com/view.php?id=11143 download]] ||
||Italian||italian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Japanese||japanese.inc||EUC-JP||{background-color:lightblue}||--||--||--||--||
||Norwegian||norwegian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Polish||polish.inc||ISO-8859-2||{background-color:lightblue}||--||--||--||--||
||Portuguese (Brazil)||portuguese.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Portuguese (Portugal)||portuguese_pt.inc||ISO-8859-15||{background-color:lightblue}||--||--||--||--||
||Romanian||romanian.inc||ISO-8859-2||{background-color:lightblue}||--||--||--||--||
||Russian||russian.inc||windows-1251||{background-color:lightblue}||--||--||--||--||
||Slovenian||slovenian.inc||UTF-8||{background-color:lightblue}||done||-- ||--||[[http://mantis.phplist.com/view.php?id=15578 download]] ||
||Spanish (Spain)||spanish.inc||ISO-8859-1||{background-color:lightblue}||done||--||--||--||
|| ||spanish_utf8.inc||UTF-8||{background-color:lightblue}||done||UTF8||done||[[http://mantis.phplist.com/view.php?id=15390 download]]||
||Spanish (Latin America)||latinamerican.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Swedish||swedish.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Turkish||turkish.inc||ISO-8859-9||{background-color:lightblue}||done||UTF-8||done||[[http://mantis.phplist.com/view.php?id=15388 download]]||
||Ukrainian||ukrainian.inc||ISO-8859-1||{background-color:lightblue}||--||--||--||--||
||Vietnamese||vietnamese.inc||UTF-8||{background-color:lightblue}||--||-- ||--||-- ||
=== Translating frontend language files ===
These are the general steps to take when translating the frontend language file:
- Copy ##texts/english.inc## and rename it to ##your_language.inc##
- Translate only the text strings to the right of the equal symbol (=), and make sure the translated text strings are kept enclosed in single quotes and have a closing semi colon (;)
- If you need to use quotes in your text strings, you must place a backslash (\) in front of them, e.g. ##I{{color text="\'" c="red"}}m sending##
- Finally, make sure you define the character set encoding you used for the translation by changing the ''$strCharSet'' value. UTF-8 (unicode) is the preferred character set, so if you can encode your translation in UTF-8, you can set this value: ''$strCharSet = 'UTF-8';'' around line 5 of your language file.
- Upload your file back to the ##lists/texts/## folder
- Edit your ##config.php## file and set $language_module = "english.inc"; to ''$language_module = "your_language.inc";''
**{{color c="red" text="Important information"}}**
~-Do **not touch** the English text on the left of the arrow: **only change** the translated text on the right of the arrow.
~-If you use a **quote** in the translated text, make sure to **escape it** (\') otherwise the file will fail to parse. //Example//: ''don't'' must be written ''don\'t''
**Related topics**
- [[TranslatorsList Translators Mailinglist]]
- [[PhplistTranslation phpList translation]]
----
CategoryTranslation




