Problems to setup extension for i18n

Problems to setup extension for i18n

Wednesday 18 October 2006 12:55:09 pm - 4 replies

Modified on Thursday 19 October 2006 12:24:33 pm by Ulrich L.

Author Message

Ɓukasz Serwatka

Thursday 19 October 2006 12:01:55 am

Hi Ulrich,

i18n() is very sensitive on white-spaces, hidden extra chars, etc. Make sure that your translation.ts file is "clean". Remember to clear all the cache.

Check also if there is no typo somewhere.

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

Claudia Kosny

Thursday 19 October 2006 3:31:39 am

Hi Ulrich

Maybe it is just a typo but in your post you mentioned the filename

Extension/dictionary/translations/ger-DE/translations.ts

The file must be named translation.ts (you have an 's' to much in the filename).

Claudia

Ulrich L.

Thursday 19 October 2006 12:23:31 pm

@Lukasz: I cannot figure out any redundant whitespaces. The posting above including the content of the translation.ts file has been created using copy&paste, and there is no wrong character inside, I think.

@Claudia: This was my fault while typing this posting, the real file names are fine.

Hmmm....

Ulrich L.

Thursday 19 October 2006 11:13:02 pm

Heureka! I found it!
In the translation.ts file there is just one open tag "message" too much. Having removed this, everything works perfectly!

You must be logged in to post messages in this topic!

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