diff --git a/CyberCP/settings.py b/CyberCP/settings.py index 7074f6422..86a9d022e 100755 --- a/CyberCP/settings.py +++ b/CyberCP/settings.py @@ -187,6 +187,7 @@ LANGUAGES = ( ('vi', _('Vietnamese')), ('it', _('Italian')), ('de', _('Deutsch')), + ('id', _('Indonesian')), ) MEDIA_URL = '/home/cyberpanel/media/' diff --git a/locale/id/LC_MESSAGES/django.mo b/locale/id/LC_MESSAGES/django.mo index 188a54c15..5a428914d 100755 Binary files a/locale/id/LC_MESSAGES/django.mo and b/locale/id/LC_MESSAGES/django.mo differ diff --git a/loginSystem/templates/loginSystem/login.html b/loginSystem/templates/loginSystem/login.html index e6252a88d..4493f80fa 100755 --- a/loginSystem/templates/loginSystem/login.html +++ b/loginSystem/templates/loginSystem/login.html @@ -211,6 +211,7 @@ + diff --git a/loginSystem/views.py b/loginSystem/views.py index 21b8d7e47..cfb93a717 100644 --- a/loginSystem/views.py +++ b/loginSystem/views.py @@ -69,6 +69,8 @@ def verifyLogin(request): user_Language = "it" elif data['languageSelection'] == "German": user_Language = "de" + elif data['languageSelection'] == "Indonesian": + user_Language = "id" translation.activate(user_Language) response = HttpResponse()