Forums / Setup & design / Problem with i18n

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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