mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 21:12:50 -06:00
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).
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user