Custom Languages
You can choose one of 20+ languages for the visual builder's UI when initializing BEE Plugin. If you want to use custom language strings, however, you will need to use a Custom Language. This feature is available on BEE Plugin Core plan and above. If you're on the Essentials plan, upgrade a development application for free to try this and other Core-level features.
Using a translation URL
You may now override the default BEE Plugin language file by providing a URL to your own translations. This is an advanced feature and will replace all languages used by the editor with the languages defined in the custom file.
var beeConfig = {
uid: config.uid,
...
translationsUrl: 'https://www.yourdomain.com/xx-XX.json',
...
}
Using a JSON Object
The easiest method to override specific text labels is to pass a JSON object in your bee config, which contains the segments of the language file you want to override.
var beeConfig = { uid: config.uid, ... translations: { ... } ... }
Example: overriding the Help icon label in the default toolbar
var beeConfig = {
uid: config.uid,
...
translations: {
"bee-common-top-bar": {
help: "Support"
},
}
...
}
Example: overriding the Rows tab label in the sidebar
var beeConfig = {
uid: config.uid,
...
translations: {
"bee-common-widget-bar": {
"structure": "Catalog"
}
},
}
...
}
Sample language file
Check out our Github repository for starter language templates in all supported languages.