Override of the translation.ts files

Author Message

Anthony M.

Thursday 12 October 2006 2:30:14 am

Hello,

my site has 3 languages and i have to use the 'translation.ts' files.

But is it possible to override the original files (which are in 'share\translations\eng-GB' for example) ??
instead of modifying them directly in their original folder, because if i change my version of ezpublish, i replace the translation files, therefore i lose everything...

Thanks for your help

Anthony

Anthony

Jonny Bergkvist

Thursday 12 October 2006 2:51:35 am

Make an extension with your own translation in.
In that extension create translations-folder, and then <language>-folders.
Put your translation.ts in there.

Activate it with these settings in your override/site.ini.append

[ExtensionSettings]
ActiveExtensions[]=<your-translation-extension>

[RegionalSettings]
TranslationExtensions[]=<your-translation-extension>

Jonny

Anthony M.

Thursday 12 October 2006 6:21:00 am

thank you very much !!!

Anthony

Pascal Specht

Thursday 28 June 2007 8:21:44 am

For those who may have the same problem I had, the suggested solution works, but you will have to make sure that the order in which the extensions are loaded is also correct. André posted a very helpful answer which you can find here:

http://ez.no/community/forum/extensions/extensions_to_extend_extensions_am_i_on_the_right_way/

-Pascal

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.