Tuesday 26 April 2011 7:40:47 am
Hi there, I'm trying to make an extension to translate a website in other languages but I have an error : Missing translation for message in context: 'agrioccas'. The untranslated message is: 'Espace client'
My extension looks like the following structure : /agrioccas
|- settings
| `- site.ini.append.php
`- translations
`- eng-US
`- translation.ts
The content of site.ini.append.php :
<?php /*
[RegionalSettings]
TranslationExtensions[]=agrioccas
*/ ?> The content of translation.ts : <!DOCTYPE TS>
<TS>
<context>
<name>agrioccas</name>
<message>
<source>Espace client</source>
<translation>Client area</translation>
</message>
<message>
<source>Recherche avancée</source>
<translation>Advanced search</translation>
</message>
</context>
</TS>
An example of template code :
{"Espace client"|i18n("agrioccas")} The extension has been successfully activated but I still have this error. Could someone help me please ? Thanks, Damien
|