mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-13 18:46:25 +01:00
update language codes
This commit is contained in:
@@ -12,6 +12,8 @@ from celery.schedules import crontab
|
||||
|
||||
from django.contrib import messages
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'allianceauth', # needs to be on top of this list to support favicons in Django admin (see https://gitlab.com/allianceauth/allianceauth/-/issues/1301)
|
||||
'django.contrib.admin',
|
||||
@@ -93,18 +95,20 @@ LOCALE_PATHS = (
|
||||
os.path.join(BASE_DIR, 'locale/'),
|
||||
)
|
||||
|
||||
LANGUAGES = (
|
||||
("en", "English"),
|
||||
("de", "German"),
|
||||
("es", "Spanish"),
|
||||
("zh-hans", "Chinese Simplified"),
|
||||
("ru", "Russian"),
|
||||
("ko", "Korean"),
|
||||
("fr", "French"),
|
||||
("ja", "Japanese"),
|
||||
("it", "Italian"),
|
||||
("uk", "Ukrainian"),
|
||||
("pl", "Polish"),
|
||||
LANGUAGES = ( # Sorted by Language Code alphabetical order + English at top
|
||||
("en", _("English")),
|
||||
# ("cs-cz", _("Czech")), #Not yet at 50% translated
|
||||
("de", _("German")),
|
||||
("es", _("Spanish")),
|
||||
("it-it", _("Italian")),
|
||||
("ja", _("Japanese")),
|
||||
("ko-kr", _("Korean")),
|
||||
("fr-fr", _("French")),
|
||||
("nl-nl", _("Dutch")),
|
||||
("pl-pl", _("Polish")),
|
||||
("ru", _("Russian")),
|
||||
("uk", _("Ukrainian")),
|
||||
("zh-hans", _("Simplified Chinese")),
|
||||
)
|
||||
|
||||
TEMPLATES = [
|
||||
|
||||
Reference in New Issue
Block a user