ActiveReports Developer 7
Localize the Flash Viewer
See Also Support Forum
ActiveReports Developer 7 > ActiveReports Developer Guide > How To > Customize, Localize, and Deploy > Localize the Flash Viewer

Glossary Item Box

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.v7.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.v7.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.v7.Resources.swf file also contains strings localized for the following languages:

The SWF files are located in C:\Program Files (x86)\ComponentOne\ActiveReports Developer 7\Deployment\Flash.

ShowTo use the Russian, Japanese, or Chinese localization

  1. From C:\Program Files (x86)\ComponentOne\ActiveReports Developer 7\Deployment\Flash, copy GrapeCity.ActiveReports.Flash.v7.Resources.swf into the project folder that contains the ASPX file with the WebViewer.
  2. 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.
  3. In the ResourceLocale property, drop down the list of values and select the locale that you want to use.
  4. Run the project to see the localized FlashViewer.

Custom Localizations

The localization file is located in C:\Program Files (x86)\ComponentOne\ActiveReports Developer 7\Localization.

ShowTo localize strings (and images) in the resource file.

  1. In C:\Program Files (x86)\ComponentOne\ActiveReports Developer 7\Localization, open the FlashViewer.zip file.
  2. Using Notepad, open the Resources.properties file and localize the strings.
  3. Save and zip the file.
  4. 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.

ShowTo send the localized file to ComponentOne to be compiled into the SWF file.

  1. 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
  2. Tell support the culture of the localization and ask them to compile it into the GrapeCity.ActiveReports.Flash.v7.Resources.swf.
  3. Support will email you the localized SWF file.

ShowTo use your custom localization.

  1. When you receive the new ActiveReports.FlashViewer.Resources.swf file, copy it into the project folder that contains the ASPX file with the WebViewer.
  2. 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.
  3. In the ResourceLocale property, drop down the list of values and select your custom locale.
  4. Run the project to see the localized FlashViewer.

See Also

©2014. ComponentOne, a division of GrapeCity. All rights reserved.