Re: suggested tools for simple i18n

From: Date: Mon, 30 Jan 2006 14:02:46 +0000
Subject: Re: suggested tools for simple i18n
References: 1 2 3 4  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-903@lists.php.net to get a copy of this message
Florian Breit wrote:
Another nice solution is to include a file with an array of language specific strings, as the people form phpBB did. For example:
right, but that won't work for japanese. For me this will work with japanese also. I just did a test as you can see at http://s01.w4h.biz/japanese-test.php Here is my jp-jp.php: <?php $lang = array('lone wolf and cube' => '子連れ狼',
              'daigoro'  => '大五郎',
              'ogami itto' => '拝 一刀',
); ?> [snip]
So, everything works correctly. Maybe do you have had the wrong charset for the ouput or your editor doesn't support japanese?
Both, it turns out. Thanks! -Thorsten

« previous php.i18n (#903) next »