diff options
| author | hallgren <hallgren@chalmers.se> | 2014-03-28 14:56:56 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-03-28 14:56:56 +0000 |
| commit | 98d9946ac425de49880b8f8f783d3b4510a9d762 (patch) | |
| tree | 2f3662c2941b2a8cc75b6066e9f60898c22389ad /src/www/js/langcode.js | |
| parent | 035d367b1f2e0da6b4988017ef37f275d02b346f (diff) | |
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).
Diffstat (limited to 'src/www/js/langcode.js')
| -rw-r--r-- | src/www/js/langcode.js | 10 |
1 files changed, 10 insertions, 0 deletions
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 } } |
