Wiki

NeoRouterWiki:Multilanguage

From NeoRouterWiki

(Difference between revisions)
Jump to: navigation, search
(Published language resource files)
(Published language resource files)
Line 246: Line 246:
== Published language resource files ==
== Published language resource files ==
-
'''NeoRouter v0.9.10'''
+
'''NeoRouter v0.9.10 - v1.0.0'''
* English:
* English:

Revision as of 10:00, 16 August 2010

Multi-Language support allows you to choose your favorite language when using Network Explorer, NeoRouter Portable and Configuration Explorer.

This is a new feature in NeoRouter version 0.9.8 and above.


Contents

Install a language resource file

NeoRouter applications supports 34 languages and English is the default option. You can download or create a resource file and put it on the proper folder, the application can recognize it and list it in the "Language" menu item.

You can switch a language from the the menu item "Language" on the main menu. Once you choose a language, it will refresh the user interface with the current language display.

A language option can be listed on on the menu ONLY when:

1) The language resource file is under one of the following folders

  • a. The same folder of the application
    .\Translations
  • b. The main configuration folder
    On Windows Xp:
    X:\Documents and Settings\All Users\Application Data\ZebraNetworkSystems\NeoRouter\Translations
   
    On Vista+:
    X:\Users\All Users\ZebraNetworkSystems\NeoRouter\Translations

2) The current OS supports the language.

Note: NeoRouter portable will load the resource file from .\Translations ONLY.

Language resource file

1) The file name should be in the format:

[Application name].Resource[LangCd].[xml|dll]
  • [Appliation Name] can be: NRClient, NRViewer and NRConsole
  • [LangCd] is the short language code (see below)
  • It supports two kinds of resource files, xml and dll. If it's a xml file, the Windows MSXML 4.0 library (IE4.0+) is required.

For example:

English version:

Network Explorer:       NRClient.ResourceEn.xml
Configuration Explorer: NRConsole.ResourceEn.xml
NeoRouter Portable:     NRViewer.ResourceEn.xml

Simplified Chinese version:

Network Explorer:       NRClient.ResourceZhCn.xml
Configuration Explorer: NRConsole.ResourceZhCn.xml
NeoRouter Portable:     NRViewer.ResourceZhCn.xml

2) The resource files contain all strings defined in the NeoRouter applications. These text strings are stored in the xml format. But the file is encoded in ANSI.

The content should be in the format:

<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="English (United States)" LANGID="1033"  version="0.9.10.1650">
	<string id="100" value="OLE initialization failed.  Make sure that the OLE libraries are the correct version."/>
...
</resource>

Encoding (="windows-1252"), Language(="English (United States)") and LANGID(="1033") are used to control the translation. version="0.9.10.1650" is resource file version number introduced in v0.9.10. The resource file can be recognized properly ONLY when these parameters are set properly.

So, when we want to create a resource file for another language, we need to make sure these values are correct. Here is the list of file names and headers for all 34 languages:

  • 1. Arabic
[App name].ResourceArSa.xml
<?xml version="1.0" encoding="windows-1256"?>
<resource CompactMode="1" Language="Arabic (Saudi Arabia)" LANGID="1025" version="0.9.10.1650">
  • 2. Bulgarian
[App name].ResourceBg.xml
<?xml version="1.0" encoding="windows-1251"?>
<resource CompactMode="1" Language="Bulgarian" LANGID="1026" version="0.9.10.1650">
  • 3. Croatian
[App name].ResourceCs.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Czech" LANGID="1029" version="0.9.10.1650">
  • 4. Danish
[App name].ResourceDa.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Danish" LANGID="1030" version="0.9.10.1650">
  • 5. Dutch
[App name].ResourceDe.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="German (Germany)" LANGID="1031" version="0.9.10.1650">
  • 6. Greek
[App name].ResourceEl.xml
<?xml version="1.0" encoding="windows-1253"?>
<resource CompactMode="1" Language="Greek" LANGID="1032" version="0.9.10.1650">
  • 7. English
[App name].ResourceEn.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="English (United States)" LANGID="1033" version="0.9.10.1650">
  • 8. Spanish
[App name].ResourceEs.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Spanish (Spain - Modern Sort)" LANGID="3082" version="0.9.10.1650">
  • 9. Estonian
[App name].ResourceEt.xml
<?xml version="1.0" encoding="windows-1257"?>
<resource CompactMode="1" Language="Estonian" LANGID="1061" version="0.9.10.1650">
  • 10.Finnish
[App name].ResourceFi.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Finnish" LANGID="1035" version="0.9.10.1650">
  • 11.French
[App name].ResourceFr.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="French (France)" LANGID="1036" version="0.9.10.1650">
  • 12.Hebrew
[App name].ResourceHe.xml
<?xml version="1.0" encoding="windows-1255"?>
<resource CompactMode="1" Language="Hebrew" LANGID="1037" version="0.9.10.1650">
  • 13.Croatian
[App name].ResourceHr.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Croatian" LANGID="1050" version="0.9.10.1650">
  • 14.Hungarian
[App name].ResourceHu.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Hungarian" LANGID="1038" version="0.9.10.1650">
  • 15.Italian
[App name].ResourceIt.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Italian (Italy)" LANGID="1040" version="0.9.10.1650">
  • 16.Japanese
[App name].ResourceJa.xml
<?xml version="1.0" encoding="shift-jis"?>
<resource CompactMode="1" Language="Japanese" LANGID="1041" version="0.9.10.1650">
  • 17.Korean
[App name].ResourceKo.xml
<?xml version="1.0" encoding="ks_c_5601"?>
<resource CompactMode="1" Language="Korean" LANGID="1042" version="0.9.10.1650">
  • 18.Lithuanian
[App name].ResourceLt.xml
<?xml version="1.0" encoding="windows-1257"?>
<resource CompactMode="1" Language="Lithuanian" LANGID="1063" version="0.9.10.1650">
  • 19.Latvian
[App name].ResourceLv.xml
<?xml version="1.0" encoding="windows-1257"?>
<resource CompactMode="1" Language="Latvian" LANGID="1062" version="0.9.10.1650">
  • 20.Dutch
[App name].ResourceNl.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Dutch" LANGID="1043" version="0.9.10.1650">
  • 21.Norwegian
[App name].ResourceNo.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Norwegian (Bokmal)" LANGID="1044" version="0.9.10.1650">
  • 22.Polish
[App name].ResourcePl.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Polish" LANGID="1045" version="0.9.10.1650">
  • 23.Portuguese
[App name].ResourcePt.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Portuguese (Portugal)" LANGID="2070" version="0.9.10.1650">
  • 24.Portuguese
[App name].ResourcePtBr.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Portuguese (Brazil)" LANGID="1046" version="0.9.10.1650">
  • 25.Romanian
[App name].ResourceRo.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Romanian" LANGID="1048" version="0.9.10.1650">
  • 26.Russian
[App name].ResourceRu.xml
<?xml version="1.0" encoding="windows-1251"?>
<resource CompactMode="1" Language="Russian" LANGID="1049" version="0.9.10.1650">
  • 27.Slovak
[App name].ResourceSk.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Slovak" LANGID="1051" version="0.9.10.1650">
  • 28.Slovenian
[App name].ResourceSl.xml
<?xml version="1.0" encoding="windows-1250"?>
<resource CompactMode="1" Language="Slovenian" LANGID="1060" version="0.9.10.1650">
  • 29.Swedish
[App name].ResourceSv.xml
<?xml version="1.0" encoding="windows-1252"?>
<resource CompactMode="1" Language="Swedish" LANGID="1053" version="0.9.10.1650">
  • 30.Thai
[App name].ResourceTh.xml
<?xml version="1.0" encoding="windows-874"?>
<resource CompactMode="1" Language="Thai" LANGID="1054" version="0.9.10.1650">
  • 31.Turkish
[App name].ResourceTr.xml
<?xml version="1.0" encoding="windows-1254"?>
<resource CompactMode="1" Language="Turkish" LANGID="1055" version="0.9.10.1650">
  • 32.Ukrainian
[App name].ResourceUk.xml
<?xml version="1.0" encoding="windows-1251"?>
<resource CompactMode="1" Language="Ukrainian " LANGID="1058" version="0.9.10.1650">
  • 33.Chinese (PRC)
[App name].ResourceZhCn.xml
<?xml version="1.0" encoding="gb2312"?>
<resource CompactMode="1" Language="Chinese (PRC)" LANGID="2052" version="0.9.10.1650">
  • 34.Chinese (Taiwan)
[App name].ResourceZhTw.xml
<?xml version="1.0" encoding="big5"?>
<resource CompactMode="1" Language="Chinese (Taiwan)" LANGID="1028" version="0.9.10.1650">

Multi-language support for Add-ons

The names and descriptions of the default add-ons can be translated to other languages as well. The add-on configuration file is located in

x:\Documents and Settings\All Users\Application Data\ZebraNetworkSystems\NeoRouter\AddOns\AddOn.xml 

To use the add-ons in other languages, simply download the AddOn.xml you specify from our website and save it to the folder, then restart the NRClient application.

Published language resource files

NeoRouter v0.9.10 - v1.0.0


NeoRouter v0.9.8 - v0.9.9


Other languages (updated on Oct. 19, 2009)


Note: The content of NRClient.ResourceEn.xml and NRViewer.ResourceEn.xml are same, but the file names are different.

Translation

We need your help to translate the English resource files to your native language, so that other users who speak your language can use the software easily. We hope you can use our Wiki system to maintain the translations, so that we can work together and we have the version management. Of cause, you can post it on our forum as well.

Since NRClient and NRViewer share the same resource file, we just need to translate two files so far. Simply choose the following file you want to translate and modify it.

To use the resource files, you may want to enter "edit" mode of wiki and copy the content in the wiki editing box to a text editor and save it as the proper name. Then copy the file to the translation folder (see above) and restart your applications.

Note: 
* Please make sure the xml header is correct (see above), or it cannot be loaded.
* Copying the content from the view page may cause problem, as wiki has converted special characters (such as ; < > ...).


Resource file list

Samples

  • NeoRouter Network Explorer in Chinese (RPC)

Image:NRClientZhCn.PNG


  • NeoRouter Configuration Explorer Chinese (RPC)

Image:NRConsoleZhCn.PNG