Site name

Dropbox: Get 2GB Online Storage for free
Welcome, Guest
Username: Password: Remember me

TOPIC: How to write your own translation

How to write your own translation 29 Jul 2011 23:08 #1265

  • Fox
  • Fox's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2596
  • Thank you received: 320
  • Karma: 2739
You can easily translate Fox Contact in your language by extracting the installation package and editing the following 5 files.

Frontend side (the most important)
site/language/en-GB/en-GB.com_foxcontact.ini

Admin side (the least important)
language/en-GB/en-GB.com_foxcontact.ini
language/en-GB/en-GB.com_foxcontact.sys.ini
modules/mod_foxcontact/language/en-GB/en-GB.mod_foxcontact.ini
modules/mod_foxcontact/language/en-GB/en-GB.mod_foxcontact.sys.ini

When done, set to 0 the following value
COM_FOXCONTACT_PARTIAL="1" ;1 means translation is partial, 0 means translation complete
this will prevent the system from bugging you with the warning message:
"[your language] translation is still incomplete. Please consider to contribute by writing and sharing your translation. Learn more."


After writing your own translation, please send it to me using this form or by email at demis(аt)fox.ra.it.
I'll be happy to include your files in the next release.


Language files guidelines
  • You can append your name to the string COM_FOXCONTACT_TRANSLATOR_NAME="Other people's names|Your name" and your website to the string COM_FOXCONTACT_TRANSLATOR_PERSONAL_URL="http://www.anothersite.com|http://www.yoursite.com/". In both cases use a pipe | as data separator.
  • Double quotes are not allowed inside string values. Use "_QQ_" to represent them. Use STRING_NAME="Let's "_QQ_"quote"_QQ_" something" to show the string Let's "quote" something.
  • Never use the escape \" for double quotes. It may work on PHP 5.3 but will break in PHP 5.2.4+.
  • Single quotes are allowed. Use STRING_NAME="Let's 'quote' something" to show the string Let's 'quote' something.
  • Text placed after a semi colon is a comment. ;This is a comment, you don't need to translate comments
  • Enable Debug System in Global configuration to see parsing errors per file and lines.

Fox Contact Form is available in 49 different languages.
Translations included in current version are:


LanguageAuthorStatus
FrontendAdmin
af-ZA Afrikaans Diederik van der Eems Complete Missing
ar-AA Arabic Hany Samir, Ali Elshaikh Complete Complete
bg-BG Bulgarian Nick Kujumdjiev Complete Missing
bs-BA Bosnian Veldin Halilović Complete Missing
ca-ES Catalan Jordi Alcocer Complete Complete
cs-CZ Czech Alena Rejdakova, Jarda Ryska Complete Complete
da-DK Danish Maibrit Andersen, Brian Lyle Egebjerg Complete Complete
de-DE German Thomas Richter Complete Complete
el-GR Greek Rousis James, WebMaster StetSi Complete Complete
en-AU Australian English Danielle Kinney Complete Complete
en-GB GB English Demis Palma, Matt Needham Complete Complete
en-US US English Danielle Kinney Complete Complete
es-ES Spanish Oscar Orellana, Kevin Meza, Diego Hagopian, Juan Arturo González Astudillo Muñoz Complete Complete
et-EE Estonian Anonymous Complete Missing
fa-IR Persian Joomir, IntelliSYS, دلفی پلاس, Shentia Complete Complete
fi-FI Finnish Tuomas Roininen Complete Complete
fr-FR French Marti Mihàly, Jean-Yves Delapierre, Eva Goaoc Complete Complete
gl-ES Galician Abraham Partial Partial
he-IL Hebrew Shaul Eizikovich Complete Partial
hr-HR Croatian Mario Basic Complete Missing
hu-HU Hungarian Krisztián Botás, András Murányi Complete Partial
it-IT Italian Demis Palma Complete Complete
ja-JP Japanese Rococo Complete Complete
ka-GE Georgian Anonymous Partial Partial
lt-LT Lithuanian Anonymous Complete Missing
lv-LV Latvian Artūrs Zalužinskis Complete Complete
mk-MK Macedonian Горан Конески Complete Complete
ms-MY Malay Reynolds Chua Guan Teck Complete Missing
nb-NO Norwegian Bokmål Stein Aanensen, Robert Grygier Complete Complete
nn-NO Norwegian Nynorsk Lars B. Skipevåg Complete Complete
nl-NL Dutch Willem Hilders, Cor Goedhart, Alfred Grupstra Complete Complete
pl-PL Polish Piotr Berger, Rafał Pyrk, Lukasz Szmigiel, Jan Michlik, Arkadiusz Tracz Complete Complete
pt-BR Portuguese (Brazil) Marco Araujo, Daniel Vadora Complete Complete
pt-PT Portuguese (Portugal) João Colucas, Jorge Caldeira, José Nogueira Complete Complete
ro-RO Romanian Daniel Necula, Alex Anghel Complete Complete
ru-RU Russian Александр Кабаленов, Олег Вячеславович Ехлаков, Samson Tumanyan Complete Complete
sk-SK Slovak Rastislav Kadlecek Complete Complete
sl-SI Slovenian Elvis Sedić Complete Missing
sq-AL Albanian Bledar Aga Complete Missing
sr-RS Serbian (Cyrillic) Slaven Sladoje Complete Missing
sr-YU Serbian (Latin) Stevan Stankovic Complete Missing
sv-SE Swedish JOKR Solutions Complete Complete
th-TH Thai Chungim Complete Complete
tr-TR Turkish Ersan YILDIRIM Complete Complete
uk-UA Ukrainian Yaroslav Shevchuk Complete Complete
ur-PK Urdu [Pakistan] M. Saqib Gulzar Complete Missing
vi-VN Vietnamese Biz Over Complete Missing
zh-CN Simplified Chinese Derek Joe Complete Complete
zh-TW Traditional Chinese Allen J Complete Complete
The following user(s) said Thank You: maqim