Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-06-09 02:52:36

csp_sh
New member
Registered: 2005-06-09
Posts: 3

how to add new i18n lang?

Hi,

I don't know much about js, but I'd like to add xinha into my web application. But I need to translate it into chinese first. I added a zh.js file in the lang folder, for everywhere where I can find a lang folder, and in my html page, I set _editor_lang to "zh". But when I open my html page in IE/Firefox, and I got the js error, and it defaults to the old textarea.

The two languages en and fr are working ok. Am I missing anything here? If I can get over this problem, I'd be happy to submit the chinese properties files to xinha.

rgds

Offline

#2 2005-06-09 05:43:12

csp_sh
New member
Registered: 2005-06-09
Posts: 3

Re: how to add new i18n lang?

Got it, you have to deploy the whole thing on the server, otherwise, the code that gets the localized strings always return empty. I was testing by loading the example directly from the filesystem.

The funny thing is I could get the fr version to work sometimes ....

Offline

Board footer

Powered by FluxBB