Re: suggested tools for simple i18n
| From: | Thorsten Ottosen | 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:
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' => '子連れ狼',Another nice solution is to include a file with an array of language specific strings, as the people form phpBB did. For example:'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