Align Sahana L10n and CAP languages, fixes #112

This commit is contained in:
Disassembler 2017-10-11 22:37:23 +02:00
parent 5dbf66defd
commit 81e1d055d1

View File

@ -120,10 +120,12 @@ def config(settings):
# L10n settings
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
# http://www.loc.gov/standards/iso639-2/php/code_list.php
settings.L10n.languages = OrderedDict([
languages = OrderedDict([
("cs", "Česky"),
("en", "English"),
("en-US", "English"),
])
settings.L10n.languages = languages
settings.cap.languages = languages
# Default language for Language Toolbar (& GIS Locations in future)
settings.L10n.default_language = "cs"
# Uncomment to Hide the language toolbar