jquery-localization-tool
jquery-localization-tool copied to clipboard
Use the translations provided during plugin initialization as the default language, and fallback to markup content.
The standard behaviour of jQuery.localizationTool.js is to parse the selectors provided in the translation and use the text found in the corresponding markup as the default language. In fact, only the strings in languages other than the default language should be provided when the plugin is initialized.
Feature: the plugin should use the markup as a fallback for when the strings of the default language are not provided.