🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

The Multi Language jQuery plugin helps you create international webpages by populating web elements with JSON data in different languages.

localization

Documentation

Multi Language

A jquery plugin to handle multi language

How to use:

Start with default language

$.MultiLanguage('language.json') // choose language by localStorage or default in json config 

(Or Start with assigned language)

$.MultiLanguage('language.json', 'en') // change language immdiately 

language.json

{   "config": {     "default": "en"   },   "language": {     "en": {       "#ml-title": "Multi Language",       "#ml-demo": "Demo:",       "#ml-msg1": "Some message #1",       "#ml-msg2": "Some message #2",       ".ml-classA": "Class #A"     },     "chi": {       "#ml-title": "多國語言",       "#ml-demo": "示範",       "#ml-msg1": "訊息#1",       "#ml-msg2": "訊息#2",       ".ml-classA": "類別 #A"     }   } } 

Demo:

demo


You May Also Like