Extension talk:FCKeditor (Official)/Archive 2

Archived discussion: 1

Please post new topics here, with the newest posts being at the bottom of the page.

FCKeditor.i18n.zh-tw.php
The above message is for Traditional Chinese.

I would like to setup something for my site in the Localsetting.php like following:

Any idea? :-)  --Roc michael 13:08, 16 March 2009 (UTC)


 * Hi Roc michael, I've corrected the file name, since 'zh-tw' is the language code for Taiwan Chinese (‪中文(台灣)‬) and 'zh-hant' is for Traditional Chinese (‪中文(傳統字)‬). If you meant Taiwan Chinese instead of Traditional Chinese, feel free to correct me. :-)


 * FCKeditor.php sets the following values to $wgDefaultUserOptions:

$wgDefaultUserOptions['riched_use_toggle'] = 1; $wgDefaultUserOptions['riched_start_disabled'] = 1; $wgDefaultUserOptions['riched_use_popup'] = 1; $wgDefaultUserOptions['riched_toggle_remember_state'] = 1;


 * This means that by default, FCKeditor starts enabled without popup and that there's no toggle on edit view (I believe). --Jack Phoenix (Contact) 15:03, 16 March 2009 (UTC)


 * Hi Jack:


 * First, Thank for your respond. Then, It's true that 'zh-hant' is for Traditional Chinese (‪中文(傳統字)‬). I am a Chinese in Taiwan(or a Taiwanese) and people in Taiwan use Traditional Chinese. So the message above is not only 'zh-hant' but also 'zh-tw'. Any idea? :-)--Roc michael 16:20, 16 March 2009 (UTC)


 * You're marked as one of the authors in core MessagesZh_tw.php file (localization for Taiwan Chinese), but not in MessagesZh_hant.php file (localization for Traditional Chinese), so maybe this should use 'zh-tw' then? I'm not really sure, maybe someone who's more experienced with l10n & i18n could answer this question better. --Jack Phoenix (Contact) 19:09, 16 March 2009 (UTC)


 * Hi Jack,
 * When I finished the Chinese message file yesterday, I named it "FCKeditor.i18n.zh_tw.php" but nothing happened with the FCKeditor in my site. Until I renamed it become "FCKeditor.i18n.zh-tw.php", it works. So I think it's good to named it "FCKeditor.i18n.zh-tw.php". That's all my think about the name of Chinese message file.
 * I guess that you can make the "FCKeditor.i18n.zh-tw.php" and "MessagesZh-hant.php" use the same message. In the world, not only people in Taiwan use Traditional Chinese but also Hong Kong people do. It's great if anyone dislike the message and try to give us another version. I would like to see anyone to dedicate his(or her) intelligence.--Roc michael 12:11, 17 March 2009 (UTC)


 * Okay, I changed the file name from 'zh-hant' to 'zh-tw' for now. --Jack Phoenix (Contact) 19:51, 17 March 2009 (UTC)


 * Translation added: http://dev.fckeditor.net/changeset/3248, thanks! In the future, plase post new translations here: http://dev.fckeditor.net/

any tips on converting back from an old FCK install?
i.e. converting HTML back to WikiMarkup?

a direct conversion won't work, because some valid wiki elements are mixed with the html generated by the old FCK editor... --Dmb 21:54, 31 March 2009 (UTC)

How to enable zh-tw.js
Hi Jack, I've made another translation flie zh-tw.js and put it in the folder "extensions\FCKeditor\plugins\mediawiki\lang". Then, I edited the fckeditor_config.js as followed:

Finally, I press Ctrl+Shift+R (use Firefox) or Ctrl+F5 (us IE6),but There is no use.

--Roc michael 12:26, 6 April 2009 (UTC)

Ok, The Language file works
After I edited the fckeditor_config.js as followed: The Language file works :-)--Roc michael 13:01, 6 April 2009 (UTC)