Localize Pivot Component to Your Business Needs

Volodymyr Yatsevsky posted on July 19th, 2016

The basic feature of a quality flexible component is its custom ability and localization to your project’s needs. Flexmonster Pivot Table & Charts component can be easily localized, so it can be shown in English for US and in French for France or to any other language your users used to. Doing localization as seamless as possible is one of the tasks we have implemented in a convenient way for Flexmonster Pivot integration developers.


Pivot Table localization


Is that simple to do?

Yes, The localization terms are easily accessible via the XML file.  Localization XML file has the list of all text messages and labels that are used in Pivot Table and can be localized with ease.

First of all, if you use one of the offered languages below, you can download the already prepared XML files :

If available translation fits your requirements – just follow the detailed instruction of how to load this file into Pivot Table.


What if I need another language?

If you use different language you can create your own localization file. We recommend using English localization file as a template (default language for all text elements in Pivot Table is English). Download localization template, make a copy and replace all English texts with your own. Please check the example.

Moreover, your localization can be partial.

For example, if you don’t need to localize Pivot Table completely, you can replace only those XML nodes that are required to translate. If certain label translations are not mentioned in the Localization XML file, they will be set to default English values.

Advanced developers can even implement multi-language switch in their application. Using the respective Javascript or Flex API calls, you will be able to change languages on the fly.

Please see this simple Javascript snippet, which you can use inside the demo HTML that comes with any of our trial packages:

		function switchLang(lang) {
			var _opts = flexmonster.getOptions();
			switch(lang) {
				case 'en':
					_opts.localSettingsUrl = "local.english.xml";
				case 'es':
					_opts.localSettingsUrl = "local.espanol.xml";


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.

Please check more samples in our documentation.

Recent Posts