The FlashViewer, one of the ViewerTypes of the WebViewer control, is localized separately from other ActiveReports resources. You can redistribute the Flash localization resources separately from the application so that you need not recompile the GrapeCity.ActiveReports.Flash.v8.swf file.
You can localize all of the UI strings, error messages, fonts, and images that appear in the FlashViewer in the included resource file, and send it to ComponentOne to be compiled into the SWF resources file.
|
Note: If you are willing to share your new localization with other customers, let support know so that the updated GrapeCity.ActiveReports.Flash.v8.Resources.swf file can be included in future builds of the product. |
Included Localizations
The default locale is en_US, U.S. English, but the included GrapeCity.ActiveReports.Flash.v8.Resources.swf file also contains strings localized for the following languages:
- ru_RU Russian
- ja_JP Japanese
- zh_CN Simplified Chinese
The SWF files are located in C:\Program Files (x86)\ComponentOne\ActiveReports 8\Deployment\Flash.
To use the Russian, Japanese, or Chinese localization
- From C:\Program Files (x86)\ComponentOne\ActiveReports 8\Deployment\Flash, copy GrapeCity.ActiveReports.Flash.v8.Resources.swf into the project folder that contains the ASPX file with the WebViewer.
- In the Design view of the ASPX file, click the WebViewer control to select it, and in the Properties window, expand the FlashViewerOptions property node.
- In the ResourceLocale property, drop down the list of values and select the locale that you want to use.
- Run the project to see the localized FlashViewer.
Custom Localizations
The localization file is located in C:\Program Files (x86)\ComponentOne\ActiveReports 8\Localization.
To localize strings (and images) in the resource file.
- In C:\Program Files (x86)\ComponentOne\ActiveReports 8\Localization, open the FlashViewer.zip file.
- Using Notepad, open the Resources.properties file and localize the strings.
- Save and zip the file.
- If you want to change the toc.png image for the Table of Contents button icon, rename your localized image to toc.png and add it to the zip file.
To send the localized file to ComponentOne to be compiled into the SWF file.
- Attach the localized FlashViewer.zip file to the Submit New Issue form on our web site: http://www.componentone.com/Support/default.aspx?new=true.
- Tell support the culture of the localization and ask them to compile it into the GrapeCity.ActiveReports.Flash.v8.Resources.swf.
- Support will email you the localized SWF file.
To use your custom localization.
- When you receive the new ActiveReports.FlashViewer.Resources.swf file, copy it into the project folder that contains the ASPX file with the WebViewer.
- In the Design view of the ASPX file, click the WebViewer control to select it, and in the Properties window, expand the FlashViewerOptions property node.
- In the ResourceLocale property, drop down the list of values and select your custom locale.
- Run the project to see the localized FlashViewer.
See Also