From 98d9946ac425de49880b8f8f783d3b4510a9d762 Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 28 Mar 2014 14:56:56 +0000 Subject: Wide coverage demo web app improvements + Adapt language selection menus to the languages supported by the grammar. + Add translation quality colors to the links to alternative translations. + Also added more country codes in langcode.js (needed for speech synthesis voice selection). --- src/www/js/langcode.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/www/js/langcode.js') diff --git a/src/www/js/langcode.js b/src/www/js/langcode.js index 91df409ad..16201ed1f 100644 --- a/src/www/js/langcode.js +++ b/src/www/js/langcode.js @@ -36,6 +36,16 @@ function add_country(code) { case "fi": return "fi-FI" case "zh": return "zh-CN" case "hi": return "hi-IN" + case "es": return "es-ES" + case "it": return "it-IT" + case "bg": return "bg-BG" // ? + case "da": return "da-DK" + case "nb": return "nb-NO" + case "nl": return "nl-NL" + case "ja": return "ja-JP" + case "ro": return "ja-RO" + case "el": return "el-GR" + // ... default: return code } } -- cgit v1.2.3