Share » Forums » Translation » Chinese (Simplified) » TR files for Chinese?

TR files for Chinese?

TR files for Chinese?

Wednesday 11 May 2011 8:30:19 am - 2 replies

Author Message

Chen Xiongjie

Thursday 12 May 2011 12:42:30 am

Hi, Guillaume,

As far as I know the urlalias_iri works well. Example:文档/eZ-Publish/基本概念/内容与界面

But there is one issue here - when copying the url, it's encoded, which is not user-friendly.

I'm not sure what's result of the Transliteration extension. But for Chinese specific, alternatively I would prefer to have latinized Pinyin mapped to Chinese characters. I think an extension for this will be welcome. In Pinyin, that url will be

eZ Comments:

Guillaume Marty

Monday 30 May 2011 9:12:22 am


I've successfully created a .tr file to transliterate the Chinese characters, but I've not been able to make it work properly.

The file /share/transformations/ looks like this (and has 25,326 lines):

U+5416 = "a"
U+5475 = "a"
U+9312 = "a"
U+9515 = "a"
U+963F = "a"
U+55C4 = "a"
U+554A = "a"
U+54C0 = "ai"
U+8444 = "zuo"
U+888F = "zuo"
U+9162 = "zuo"
U+963C = "zuo"

I set up /setting/override/transform.ini.append.php:



When I launch updateniceurls.php,everything looks fine, but my URL are still using the node_* pattern.

Did I miss something? Is it OK to send a pull request to the github repo even if it's not completely working?

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