How to configure language? How to configure language? |
The interface language of 123 Flash Chat is controlled by external XML files called language_**.xml. For example: language_en.xml is English language package. ("**" is the language property as a lowercase two-letter language code from ISO 639-1 and an optional uppercase two-letter country code subtag from ISO 3166.) After successfully installed 123 Flash Chat, you can find all the language package under directory: <123FlashChatServer installed directory>/server/etc/groups/default/lang/ How to assign a default language to all the chat room users then? Admin has two options to do so: - choose a language in the admin panel
- edit HTML code
|
Login the admin panel using an admin account, Client Settings->Lanugages, Select a language, save. |
As we stated in the quickstart.html, 123 Flash Chat is added to your webpage with some HTML code like: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=9,0,0,0" WIDTH="779" HEIGHT="580"> <PARAM NAME=movie VALUE="123flashchat.swf"> <PARAM NAME=quality VALUE="high"> <PARAM NAME="menu" value="false"> <embed src="123flashchat.swf" quality=high menu=false WIDTH="779" HEIGHT="580" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> You can add the HTML code into a static or dynamic webpage, and in the latter case, you can control the interface language by adding some parameters in the HTML code, like this: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/ swflash.cab#version=9,0,0,0" WIDTH="779" HEIGHT="580"> <PARAM NAME=movie VALUE="123flashchat.swf?init_lang=en"> <PARAM NAME=quality VALUE="high"> <PARAM NAME="menu" value="false"> <embed src="123flashchat.swf?init_lang=en" quality=high menu=false WIDTH="779" HEIGHT="580" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> You can see English language is enabled by default. Language setting in the HTML code has higher priority than the language setting in the admin panel. ie: once a language is defined in the HTML code, the language setting in the admin panel becomes useless. That means you can offer chat rooms with different interface languages on different webpages, in that way your site becomes multilingual! |
Exception in auto-detect. |
123 Flash Chat may auto-dect users' OS and assign an interface language to you, however, there are some exceptions in which case auto-detect will fail to detect OS language and assign English to users, which demands a manual language setting. The reason is that Macromedia only has certain language options, while 123 flash chat has some more. In this case, please define a specific language value instead of a "*". The chart below may help your understanding. Languages | Macromedia | 123 Flash Chat |
|---|
Czech | Czech | cs
| Danish | Danish | da
| Dutch | Dutch | nl
| English | English | en
| Finnish | Finnish | fi
| French | French | fr
| German | German | de
| Hungarian | Hungarian | hu
| Italian | Italian | it
| Japanese | Japanese | ja
| Korean | Korean | ko
| Norwegian | Norwegian | no
| Polish | Polish | pl
| Portuguese | Portuguese | pt
| Russian | Russian | ru
| Simplified Chinese | Simplified Chinese | zh-CN
| Spanish | Spanish | es
| Swedish | Swedish | sv
| Traditional Chinese | Traditional Chinese | zh-TW
| Turkish | Turkish | tr
| | Other/unknown | xu | | Croatian | | hr | | Arabic | | ar | | Serbian | | serbian | | Farsi | | farsi | | Greek | | el | | portuguese from Brasil | | pt-br | | Iceland | | iceland | | Other is set to "en" by default. | | en | You can see for "Croatian", "Arabic", "Serbian","Farsi", "Greek" and "Iceland", Flash itself can't detect the language and will give your users English by default, you gotta manually assign a specific language to your users if you're running a website in the mentioned countries. |
You are welcome to translate the language file to your own language. Most of the language files in the current version are still incomplete. It's quite simple: Download the latest 123 Flash Chat trial edition and install it, log in the admin panel using an admin account, Client Settings->Lanugages, Edit language, choose a language, take French for example, click Edit. There are four tabs, - Main: the client side language,
- Admin: admin panel language,
- Avatar: avatar chat client language, (it's one of the chat clients of 123 Flash Chat)
- MSN Robot: CRRC MSN module language, (this module is for remote controlling the chat room)
Click a tab, there you may find some lines are still in English, translate them to French, and then Save. The change will apply to the XML file automatically at real-time. So when all are done, enter path: 123flashchat installation directory>>/server/etc/group/default/lang, the new language_fr.xml is already there, please send it as attachment to support@123flashchat.com. By the way, if you happen to find any error in our language packages, please report to support@123flashchat.com as well, your help and support will be highly appreciated. |
 |
|
|
More information
|
|
Service
|
|