Share » Forums » General » i18n does not work

i18n does not work

i18n does not work

Thursday 16 September 2010 8:29:51 am - 4 replies

Author Message

Gabriel Finkelstein

Thursday 16 September 2010 9:02:18 am

Is it not working only for that phrase, or it's not working anywhere? Have you tried clearing cache manually (running "php bin/php/ezcache.php --clear-all", or deleting the cache folder)?

MANUELE ARENGHI

Thursday 16 September 2010 9:14:36 am

It is not working anywhere .The result shown in browser is "Confirm"

....If I type {'Edit'|i18n('design/standard/content/edit')}" the result is "Edit"

I've purged the cache removing the following folders:

-var/cache

-var/myapp/cache

Now I've tried also with

php bin/php/ezcache.php --clear-all --allow-root-user
but the problem still persists

Any idea?

Gabriel Finkelstein

Thursday 16 September 2010 9:27:58 am

Mmmm...

Make sure that the translation.ts file is in utf8.

Is it a clean install?

Make also sure that you have an ita-IT.ini file in share/locale.

Have you tried with another language?

MANUELE ARENGHI

Thursday 16 September 2010 11:47:44 pm

Great!!

The problem is solved:

The translation.ts started with:

<?xml version="1.0" encoding=""?>

I modified in

<?xml version="1.0" encoding="utf-8"?>

Now the translation work

THANK YOU

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

36 542 Users on board!

Forums menu