Register nl_Informal translation

This commit is contained in:
Raphael Michel
2019-01-02 10:12:17 +01:00
parent ad462921f0
commit aad1fda31f
2 changed files with 8 additions and 0 deletions

View File

@@ -370,6 +370,7 @@ ALL_LANGUAGES = [
('de', _('German')),
('de-informal', _('German (informal)')),
('nl', _('Dutch')),
('nl-informal', _('Dutch (informal)')),
('da', _('Danish')),
('fr', _('French')),
('pt-br', _('Portuguese (Brazil)')),
@@ -396,6 +397,12 @@ EXTRA_LANG_INFO = {
'name': 'German (informal)',
'name_local': 'Deutsch'
},
'nl-informal': {
'bidi': False,
'code': 'nl-informal',
'name': 'Dutch (informal)',
'name_local': 'Nederlands'
},
}
django.conf.locale.LANG_INFO.update(EXTRA_LANG_INFO)