summaryrefslogtreecommitdiff
path: root/src/runtime/python/examples
diff options
context:
space:
mode:
authorThomas Hallgren <th-github@altocumulus.org>2019-11-26 15:27:02 +0100
committerThomas Hallgren <th-github@altocumulus.org>2019-11-26 15:27:02 +0100
commit33aeb53f7a14018070fec3185653e5e20ee05398 (patch)
tree50f2ea04b491cd1b9c10dcf2ff79d2e6f3a7f658 /src/runtime/python/examples
parente6b33ac8b8869ad5741685932bbc14f7ae9efad9 (diff)
PGFService: userLanguage now defaults to English, if present in the grammar
The userLangauge is the name of the concrete syntax that has a languageCode that matches the user's preferred language, as reported by the web browser. If no matching language code is found, the PGF service now sets userLanguage to the concrete syntax for English (e.g. FoodsEng) if present, and defaults to the first concrete syntax (e.g. FoodsAfr) only if English is not present in the grammar.
Diffstat (limited to 'src/runtime/python/examples')
0 files changed, 0 insertions, 0 deletions