New Post has been published on Html Use
New Post has been published on http://www.htmluse.com/jquery-localization-tool-easy-localization-for-one-page-websites/
jQuery Localization Tool - Easy localization for one-page websites
Download Demo
jQuery Localization Tool is a simple localization dropdown for your website. Translates strings in the languages you provide. This widget is built with the single page scenario in mind. It supports right-to-left text direction when languages like Arabic are selected.
Fully Featured
Keyboard Support, Tested, Compatible with IE7+, Mobile Devices, Desktops and Maintained with ❤.
1. INCLUDE CSS AND JS FILES
<link type="text/css" rel="stylesheet" href="/dist/jquery.localizationTool.css"> <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <script src="/src/jquery.localizationTool.js"></script>
Make sure UTF-8 encoding is specified
<meta charset="utf-8">
2. HTML
<div id="localizationToolbar"></div> <div id="someId">Original string goes here</div>
3. JAVASCRIPT
$("#localizationToolbar").localizationTool( strings : 'id:someId': 'it_IT' : 'Italian translation here', 'de_DE' : 'German translation here', 'fr_FR' : 'French translation here', 'es_ES' : 'Spanish translation here', 'en_AU' : 'Australian english translation here', 'br_PT' : 'Portuguese translation here', 'en_GB' : 'British english translation here', 'jp_JP' : 'Japanese translation here', 'ar_TN' : 'Arabic translation here', , /* ... more strings can follow */ );
Destroy with:
$("#localizationToolbar").localizationTool('destroy');









