Flex viewer localization and related configuration

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.