add support for German l10n (#29109)

This commit is contained in:
Frédéric Péters 2018-10-19 15:17:09 +02:00
parent 903e8c2d90
commit 1458911263
4 changed files with 7095 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -68,7 +68,7 @@ class WcsPublisher(StubWcsPublisher):
auto_create_appdir = AUTO_CREATE_VHOSTS
missing_appdir_redirect = REDIRECT_ON_UNKNOWN_VHOST
supported_languages = ['fr', 'es']
supported_languages = ['fr', 'es', 'de']
root_directory_class = RootDirectory
backoffice_directory_class = BackofficeRootDirectory

View File

@ -79,6 +79,7 @@ class SettingsDirectory(AccessControlled, Directory):
('HTTP', _('From HTTP Accept-Language header')),
('en', _('English')),
('fr', _('French'))
('de', _('German')),
])
form.add_submit('submit', _('Submit'))

View File

@ -30,7 +30,7 @@ TIME_ZONE = 'Europe/Brussels'
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'
LANGUAGES = (('en', 'English'), ('fr', 'French'))
LANGUAGES = (('en', 'English'), ('fr', 'French'), ('de', 'German'))
SITE_ID = 1