Translation of static texte in eng-GB does'n work.
English is regarded as the language used in template, so the static texte should be in English, and not need a translation.
Moreover, I never understood this ..
Otherwise, if you're early in your development we must do everything in English, and translate the fre-FR and ar-TN. Otherwise, you can make a patch of file: kernel/common/ezi18noperator.php
changes the line 131 and removes the requirement "if":
if ( $language! = 'eng-GB' ) //eng-GB Does not Need translation
{
...
}
Thank you
By
Abdelkader RHOUATI
Blog (french) : http://arhouati.com
----
Extension arh_jdebug : EzDebug using jquery
Nicolas Jessel
Monday 07 June 2010 1:03:30 am
Hello Abdelkader,
Thanks a lot for your answer.
For this to work completely on version 4.3, you must comment on the block "if" at line 116 of file kernel/common/ezpi18n.php
if ( $localeCode == 'eng-GB' )
{
// we don't have ts-file for 'eng-GB'.
return self::insertArguments( $source, $arguments );
}
This is due to the fact that the functions of translations have changed in this version of eZ.
Thanks again,
Best Regards.
Nicolas.
You must be logged in to post messages in this topic!