-
Notifications
You must be signed in to change notification settings - Fork 97
Localization
cvasseng edited this page Dec 18, 2016
·
4 revisions
The Highcharts Editor has a simple localization system that can be used to translate the UI to different languages.
To use it, first add a new language file to localization/
. See localization/en.json
for the format. The filename should correspond to the language code (e.g. en
, fr
etc.).
Once a localization file has been added, run node tools/gen.localization.js
. This will bake language packs for each of the translations available in the localization
folder, and put them in dist/
. These files can then be included in the page the editor is included in. To activate a given language, call highed.setLang(languageCode)
prior to initializing the editor.
Overview
Stand-alone Usage
Advanced
- Enable Advanced Customization
- Choosing Which Options to Include
- Adding Custom Templates
- Plugins
- Disabling Editor Features
- Adding Fonts
- Custom Templates
- Localization
- Sticky Chart Options
Integrating
API Reference