Re: suggested tools for simple i18n
[email protected] (Thorsten Ottosen)
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <[email protected]> |
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