[BUG] Chinese language label wrong in the list box [BUG] Chinese language label wrong in the list box
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[BUG] Chinese language label wrong in the list box

Started by 1sin, October 12, 2005, 09:04:19 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

1sin

In the language selection list box, the label for Chinese Traditional actually display in Chinese Simplyfy  and  the Simplify display in traditional.  Should be the opposite.  But when clicking the flag icon, it display correctly.

Joachim Müller

so chinese_gb equals Chinese simplified and chinese_big5 equals Chinese traditional? Is this correct this way round? Please excuse me for being thick when it comes to asian languages.

artistsinhawaii

Quote from: GauGau on October 12, 2005, 10:15:05 AM
so chinese_gb equals Chinese simplified and chinese_big5 equals Chinese traditional? Is this correct this way round? Please excuse me for being thick when it comes to asian languages.

That's correct, GauGau.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

k, I'll commit the changes to the cvs as soon as I have access to it.

Joachim Müller

committed:$lang_language_data['chinese_big5'] = array('Chinese traditional','中文 - 简体','tw');
$lang_language_data['chinese_gb'] = array('Chinese simplified','中文 - 繁體','cn');
to devel branch of cvs. I hope that this is correct.
Marking as "fixed", please reply if it isn't for you.

1sin

Hi GauGau,

There is a small mistake in the chinese characters part.  The correct code should be:

$lang_language_data['chinese_big5'] = array('Chinese traditional','中文 - 繁體','tw');
$lang_language_data['chinese_gb'] = array('Chinese simplified','中文 - 简体','cn');

Joachim Müller

ok, thanks for the report. This is now the content of include/functions.inc.php:$lang_language_data['chinese_big5'] = array('Chinese traditional','中文 - 繁體','tw');
$lang_language_data['chinese_gb'] = array('Chinese simplified','中文 - 简体','cn');
(actually, the chinse encoding is not in the file, but the html equivalent that represents it. The forum software of course outputs the chinese chars).