jquery-localization-tool icon indicating copy to clipboard operation
jquery-localization-tool copied to clipboard

Use the translations provided during plugin initialization as the default language, and fallback to markup content.

Open darksmo opened this issue 10 years ago • 0 comments

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.

darksmo avatar Feb 01 '15 21:02 darksmo