I am using PHP Transliterator (from php5-intl, using ICU) to transliterate CJK to Latin (Romanization), problem is, I need some ways to specify the input locale so that Japanese Kanji are not romanized into Chinese Pinyin (as they often share the same utf8 character).
For example:
transliterator_transliterate('Any-Latin; Latin-ASCII; Lower();', $input);
中国オタク界 => zhong guo otaku jie
while i would like to get:
中国オタク界 => chuu goku otaku kai
Any idea?
Further research on the ICU site suggest the problem might be that Han-Latin
only follow Pinyin transliteration, so I am looking for a way to allow php5-intl to tell ICU to use Romaji transliteration instead (I haven't found such id).