https://github.com/dakk/jquery-multilang a simple and fast multilanguage lib for jQuery.
- Put the attribute tkey in each element you want to translate:
- Modify the lang json files, having one translated string for each tkey in each language file:
"string-key-example" : "Example string in English"
- Load jquery.js and lang.js at the end of the HTML file:
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script src="lang.js"></script>
What’s My SEO Score?
Enter the URL of any landing page or blog article and see how optimized it is for one keyword or phrase.
Latest posts by WordPress Expert (see all)
- How to Make and Optimize a Facebook Landing Page - October 18, 2021
- ActiveCampaign Alternatives: Best Options for Small Businesses in 2021 - October 13, 2021
- 9 Best WordPress Store Locator Plugins [Free + Paid] - October 12, 2021