Code snippets
Last updated
Last updated
The main code snippet to enable BabelShark translation is available at your project page:
Adding this code snippet initiates the loading of BabelShark code, its API and project settings. If current user has a translation language selected, the project will seamlessly switch to that language.
If you want to display a built-in language selection drop-down, add .bs-activator
element to the required position:
This will render a language selector:
Read more about language drop-down configuration and parameters.