Source string markup
Last updated
Last updated
You need to explicitly markup your source strings (strings to translate) in your HTML. This is being done by using __
CSS class.
BabelShark picks up these string from HTML and replaces them with a translation to the user's language.
To mark your string as one to be translated, just add CSS class:
The most of modern HTML frameworks (React, Vue, Angular) dynamically add, remove and replace text in HTML DOM elements.
BabelShark tracks changes in page contents and translates new strings.