Home arrow Forum

Remository Forum

 


acisto

Karma: 0  
about chinese language, here's my test result! - 2008/03/11 12:26 I've read the discussion in last thread. And I just have a test as the debugging method advised in last post.

I found it's very weird that when I ship to simplified_chinese, it returns "string(7) english", which is wrong.

But when I shift it to traditional_chinese, it returns in cpanel "string(19) traditional_chinese", which is correct.

is it weird? why traditional chinese works ok but simplified chinese it get wrong? hope this would help you pinout the problem.
  | | Sorry, you do not currently have permission to write here.
acisto

Karma: 0  
Re:about chinese language, here's my test result! - 2008/03/11 12:36 BTW,chinese language frontend still not work in these 2 cases .

even "traditional_chinese" work fine in backend. but front-end are still remain english. I've switch both of them into "traditional chinese"
  | | Sorry, you do not currently have permission to write here.
ic3000

Karma: 0  
Re:about chinese language, here's my test result! - 2008/03/11 16:20 I dont know if i understud very weel your problem but i think that what you describe is similar to wat was going wrong in my case.

I use a localized language file but sometimes remository was getting english in some fields, i found out that some variables where not on the language file and when remository dont find on the localized language file it will get it from the english language file.

I only had to find the strings that where not on the localized language file and copy them from the english one to the one i needed.

Sory for the bad english.

Hope it helps!
  | | Sorry, you do not currently have permission to write here.
acisto

Karma: 0  
Re:about chinese language, here's my test result! - 2008/03/12 04:04 Hi, Ic300,
I know what you mean. but it's not the same case!

The problem I encouter is remository completely mess up the language files.

only "traditional_chinese" work fine in back-end, and for front-end. both "simplified_chinese" and "traditional_chinese" didn't load. instead it load english file. so I think it's about file name mapping.

when remository read language setting in joomla 1.5 database. it get the wrong results and since it can't find it so it load english.

hope author would take a look into this problem. I can help debug.

I like remository because it run in native, and docman have to run in legacy mode.
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:about chinese language, here's my test result! - 2008/03/12 09:30 I may have difficulty with this because of not understanding any Chinese, but if you would allow me access to your site (as super admin) I will try to figure out where the problem is. Look in the comments at the top of the Remository code to see my email address. Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
acisto

Karma: 0  
Re:about chinese language, here's my test result! - 2008/03/12 17:23 Hi, counterpoint

the problem is in the language file itself, not in remository!

I've solve the problem. it's because our language xml file set english in tag backwardLang, and remository happen to read that as language file.

Now it work fine. thanks! sorry for making you confusing!
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:about chinese language, here's my test result! - 2008/03/14 16:06 Glad you worked it out - thanks for posting the result Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.
baijianpeng

Karma: 3  
Re:about chinese language, here's my test result! - 2008/03/30 18:49 acisto wrote:
Hi, counterpoint
it's because our language xml file set english in tag backwardLang, and remository happen to read that as language file.


I don't think using English as the backwardLang is a mistake. In fact, we MUST set English as the backward Language in case some language strings was not found in the Chinese translation.

Then, I suggest you to re-consider the mechanism that how Remository read language name. Why it use the backwardLang tag?
http://www.joomlagate.com

Chinese Joomla! Users' Portal
  | | Sorry, you do not currently have permission to write here.
admin

Karma: 98  
Re:about chinese language, here's my test result! - 2008/04/06 05:33 Remository is using "backwardlang" because it is consistent with Joomla 1.0.x and Mambo 4.x. The code for Remository is identical across all three platforms. It would be much harder to maintain Remository if it had to exist in multiple versions.

There is no need for "backwardlang" to point to english so far as Remository is concerned. Remository always loads the english file to cater for the possibility that not all strings exist in the relevant non-english file. In my view, setting the backwardlang to english is a misuse of the facility, but that's only my opinion.

It's fine for the Joomla developers to decide on a new scheme for languages, but it's not obvious why this should be forced on extensions.
Martin Brampton aka Counterpoint
http://aliro.org
http://black-sheep-research.com
  | | Sorry, you do not currently have permission to write here.

Save FM Radio

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors

We have 7 guest online