Align Sahana L10n and CAP languages, fixes #112
This commit is contained in:
parent
5dbf66defd
commit
81e1d055d1
@ -120,10 +120,12 @@ def config(settings):
|
|||||||
# L10n settings
|
# L10n settings
|
||||||
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
|
# Languages used in the deployment (used for Language Toolbar & GIS Locations)
|
||||||
# http://www.loc.gov/standards/iso639-2/php/code_list.php
|
# http://www.loc.gov/standards/iso639-2/php/code_list.php
|
||||||
settings.L10n.languages = OrderedDict([
|
languages = OrderedDict([
|
||||||
("cs", "Česky"),
|
("cs", "Česky"),
|
||||||
("en", "English"),
|
("en-US", "English"),
|
||||||
])
|
])
|
||||||
|
settings.L10n.languages = languages
|
||||||
|
settings.cap.languages = languages
|
||||||
# Default language for Language Toolbar (& GIS Locations in future)
|
# Default language for Language Toolbar (& GIS Locations in future)
|
||||||
settings.L10n.default_language = "cs"
|
settings.L10n.default_language = "cs"
|
||||||
# Uncomment to Hide the language toolbar
|
# Uncomment to Hide the language toolbar
|
||||||
|
Loading…
Reference in New Issue
Block a user