Translation extension

Author Message

Salvatore Guarino

Monday 14 November 2005 4:39:04 am

I created a custom class that contains a little text. My site is multilanguage (english and italian) and I need to translate the text in this class. I create an extension with a copy of the ita-IT translation.ts file and I create a custom context with my translation. Here the structure of extension:

(extension)
!
!
!-- (translations)
    !
    !-- (ita-IT)
        !
        !-- (translation.ts)  #copy of original with a custom context containig translations

It doesn't work. I forgot something?

Ɓukasz Serwatka

Monday 14 November 2005 4:57:14 am

In yourextension/settings/site.ini.append.php add:

[RegionalSettings]
TranslationExtensions[]=yourextension

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Salvatore Guarino

Wednesday 16 November 2005 4:11:20 am

Tank you Luke,
now it's working!

Bye,

Salvatore

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