Thursday 20 May 2010 3:52:14 am
Personaly I would just use different contexts in your translation files. for exemple: {"My text"|i18n('mysite-technical/my_template')}
Or {"My text"|i18n('mysite/my_template')}
You will then simply differenciate this in your translation file: extension/technical_trans/translations/fre-FR/translation.ts
with this in the context
<context>
<name>mysite-technical/my_template</name>
<message>
<source>French</source>
<translation>Français</translation>
</message> </context>
<context>
<name>mysite/my_template</name>
<message>
<source>Technical French</source>
<translation>Français technique</translation>
</message> </context> You can use 2 extensions, in order to split this in 2 translation files if you wish, but it may not be necessary.
|