Internationalize ULS

* internationalize ULS when jquery.i18n is present. Otherwise use the
fallback English interface
* Example with and without i18n
* Message files for few languages
This commit is contained in:
Santhosh Thottingal
2012-09-21 22:24:06 -07:00
parent 2ce74db801
commit 0781f022dd
18 changed files with 201 additions and 31 deletions

3
i18n/de.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "Wählen Sie eine Sprache"
}

20
i18n/en.json Normal file
View File

@@ -0,0 +1,20 @@
{
"@metadata": {
"author": "Santhosh Thottingal <santhosh.thottingal@gmail.com>",
"last-updated": "2012 Septmber 21",
"locale": "en",
"message-documentation": "qqq"
},
"uls-select-language": "Select Language",
"uls-region-WW": "Worldwide",
"uls-region-AM": "America",
"uls-region-AF": "Africa",
"uls-region-EU": "Europe",
"uls-region-AS": "Asia",
"uls-region-ME": "Middle East",
"uls-region-PA": "Pacific",
"uls-no-results-found": "No results found",
"uls-common-languages": "Common languages",
"uls-no-results-suggestion-title": "You may be interested in:",
"uls-search-help": "You can search by language name, script name, ISO code of language or you can browse by region:"
}

3
i18n/es.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "Seleccione el idioma"
}

3
i18n/fi.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "Valitse kieli"
}

3
i18n/he.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "בחר את השפה"
}

3
i18n/hi.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "भाषा चुनें"
}

3
i18n/ja.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "言語を選択する"
}

14
i18n/ml.json Normal file
View File

@@ -0,0 +1,14 @@
{
"uls-select-language": "ഭാഷ തിരഞ്ഞെടുക്കുക",
"uls-region-WW": "ആഗോള ഭാഷകൾ",
"uls-region-AM": "അമേരിക്ക",
"uls-region-AF": "ആഫ്രിക്ക",
"uls-region-EU": "യൂറോപ്പ്",
"uls-region-AS": "ഏഷ്യ",
"uls-region-ME": "മദ്ധ്യപൂർവേഷ്യ",
"uls-region-PA": "പസഫിക്",
"uls-no-results-found": "ഒന്നും കണ്ടെത്താനായില്ല",
"uls-common-languages": "സാധാരണ ഭാഷകൾ",
"uls-no-results-suggestion-title": "ഒരു പക്ഷേ ഇതായിരിക്കും നിങ്ങൾ തിരഞ്ഞത്:",
"uls-search-help": "നിങ്ങൾക്ക് ഭാഷയുടെ പേര്, ISO 639 കോഡ്, ലിപിയുടെ പേര് എന്നിവ ഉപയോഗിച്ച് തിരയാം. അല്ലെങ്കിൽ ഈ മേഖലകളിൽ തിരയാം:"
}

3
i18n/nl.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "Selecteer taal"
}

19
i18n/qqq.json Normal file
View File

@@ -0,0 +1,19 @@
{
"@metadata": {
"author": "Santhosh Thottingal <santhosh.thottingal@gmail.com>",
"last-updated": "2012 Septmber 21",
"locale": "qqq"
},
"uls-select-language": "Language Selector Title",
"uls-region-WW": "Label for worldwide languages. They are languages spoken in multiple countries. Eg: English, French, Spanish etc. This lable is used in the map region of ULS and as the title of section showing worldwide languages. Translation should not be descriptive.",
"uls-region-AM": "America",
"uls-region-AF": "Africa",
"uls-region-EU": "Europe",
"uls-region-AS": "Asia",
"uls-region-ME": "Middle East",
"uls-region-PA": "Pacific",
"uls-no-results-found": "No results found",
"uls-common-languages": "Common languages",
"uls-no-results-suggestion-title": "You may be interested in:",
"uls-search-help": "You can search by language name, script name, ISO code of language or you can browse by region:"
}

3
i18n/ta.json Normal file
View File

@@ -0,0 +1,3 @@
{
"uls-select-language": "மொழி தேர்வு"
}