Problem with i18n

Author Message

Toni Ascó

Thursday 20 May 2004 4:44:57 am

hi, i've been following the thread http://www.ez.no/community/forum/developer/what_is_i18n_ to understand how i18n works, but well, strings are not translated correctly.

My syte.ini has locale as es-es and i've created the extension/atlantis/translations/eng-GB/translation.ts file to try to translate some words from spanish to english.
the context is named hotel_translations, but when i type in my templates something like
{'noticias'|i18n('hotel_traduccions'} i still get noticias instead news that is what the translatio.ts file states...

Any idea?

Toni

Lazaro Ferreira

Thursday 20 May 2004 9:11:38 am

Hi,

Check your context string again, Above you wrote hotel_translations and then in your template you wrote hotel_traduccions, it doesn't match

Also turn on your debug settings at your site.ini.append file

Lazaro

Lazaro
http://www.mzbusiness.com

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