Custom Languages
Using a Translation URL
You may now override the default Beefree SDK 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.
Using a JSON Object
The easiest method to override specific text labels is to pass a JSON object in your beeConfig
, which contains the segments of the language file you want to override.
Example: overriding the Help icon label in the default toolbar
Example: overriding the Rows tab label in the sidebar
Example: overriding the Preheader
Example: Defining or adding a translation for "email"
The following code defines a translation object where the title for "bee-settings-details" is set to "New Email Details" specifically for the "email" field.
Sample language file
Check out our Github repository for starter language templates in all supported languages.
Last updated
Was this helpful?