|
Today, it is very usable if your application speaks all languages to user and has complete international support. Doing localization as seamless as possible is one of the tasks we have implemented in a convenient way for Flexmonster Pivot integration developers.
The localization terms are easily accessible via the flexmonster/local.english.xml file. The file can be used to create new translation of the common terms, used in the application. Just make copy of a file and call it as you like, e.g. flexmonster/local.deutsch.xml. Translate the terms and here you go - now you are ready to push in the localized version of your Pivot Table! Don't forget to mention the newly created localization file in the configuration XML file of your report as well.
Advanced developers can even implement multi-language switch in their application. Using the respective Javascript or Flex API calls, you will be capable to change languages on the fly. So let's take a look at this simple Javascript snippet, which you can use inside the demo HTML that comes with any of our trial packages.
The most important functions here are .getOptions() and .setOptions() which allow you to switch the local settings of the Pivot Table component on the fly in the browser. You may also continue experimenting and extend this demo as well! See more samples at our reference manual site.
|