When using ArcGIS flex viewer, we often encounter a problem: how to configure quick localization. Here we will explain in detail how to implement configuration localization.
1. Download flexviewer source code package: https://github.com/ArcGIS/ArcGISViewerForFlex/tags
2. Import the project through Flash builder, download the flex API, and copy the SWC library file in the project to the libs folder.
3. the built-in 10 languages support the following:
4. Flash builder supports 16 types of localized speech, excluding Arabic. The following operations are required:
Run the following command in cmd mode:
Cd "C: \ Program Files \ Adobe Flash builder 4.5 \ sdks \ 4.5.0 \ bin" or CD "C: \ Program Files (x86) \ Adobe Flash builder 4.5 \ sdks \ 4.5.1 \ bin"
When copylocale.exe en_us Ar is executed, a folder named Ar is generated in the folder similar to C: \ ProgramFiles \ Adobe Flash builder 4.5 \ sdks \ 4.5.0 \ frameworks \ locale, you can also manually create the folder and copy the content in the corresponding en_us folder to it.
5. Modify the compiler parameters: If you want to use other speech compilation methods, you only need to set the corresponding locale parameter to the corresponding parameter. In the list of 10 Supported languages
6. Use Chinese for localization
7. If you need to modify the information in the local configuration file of the system, you can use the following method. The localization information in the configuration file is unicode encoded. You can use http://www.iwangyu.com/tools/native2ascii.htmlon-line conversion.
8. If you do not need to display the logo in the lower right corner of the program, you can configure config. xml.