Thursday 08 May 2008 4:22:12 am
hi,
first of all, i have created my extension call traductionkazadi. In extension/traduction/settings/site.ini i have add TranslationExtensions[]=traductionkazadi on [RegionalSettings] section and
[TemplateSettings] ExtensionAutoloadPath[]=traductionkazadi. secondly i have add ActiveExtensions[]=traductionkazadi on [ExtensionSettings] section of settings/override/site.ini to activate my extension.
after this i have create a file translation.ts in extension/traductionkazadi/translations/fre-FR. this file contains:"
<!DOCTYPE TS><TS>
<context>
<name>traductionkazadi</name>
<message>
<source>Pour creer un compte, remplir le formulaire ci-dessous:</source>
<translation>To create your account, fill the fields of the form below:</translation>
</message>
</context>
</TS>
" in my templates i have write this:" {"Pour creer un compte, remplir le formulaire ci-dessous:"|i18n('traductionkazadi')} but this text aren't translated.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
|