TIWCGJQPivotLocaleFile Class

Represents type TIWCGJQPivotLocaleFile.

Namespace: IWCGJQPivot
TPersistent
  IWCGJQPivot.TIWCGJQPivotLocaleFile
type
 TIWCGJQPivotLocaleFile = class(TPersistent)
 end;

The TIWCGJQPivotLocaleFile type exposes the following members.

Show:
 NameDescription
Create(TPersistent)

Initializes a new instance of the TIWCGJQPivotLocaleFile class.

Top
Show:
 NameDescription
Filename

Filename of localization file.

Important Note

The file must be in " /jq/pivottable/" folder.

Tip

To create your custom locale file, you need do the follow steps:

  1. Copy the existing localization file (e.g: pivot.es.js ) and paste in same folder.
  2. Rename new file (e.g: pivot.pt.js )
  3. Open the new file in editor like notepad, and rename the json object name $.pivotUtilities.locales. es -> $.pivotUtilities.locales. pt
  4. Make your translation of strings and save.
  5. Done

Tip

To use your custom translation, youneed :

  1. Set the TIWCGJQPivotLocaleFile.Filename ( pivot.pt.js )
  2. Set the TIWCGJQPivotLocaleFile.JSonName ( pt)
  3. Done.

JSonName

The name of json object in locale file.

Note

Example:

$.pivotUtilities.locales. es = {

...

}

In this example the name of json object is es.

Top
Show:
 NameDescription
GetOwner

Represents method GetOwner.

Top