add Indonesian

This commit is contained in:
Usman Nasir
2020-04-22 21:46:31 +05:00
parent 782f93526f
commit 7242aead8c
4 changed files with 4 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ LANGUAGES = (
('vi', _('Vietnamese')),
('it', _('Italian')),
('de', _('Deutsch')),
('id', _('Indonesian')),
)
MEDIA_URL = '/home/cyberpanel/media/'

Binary file not shown.

View File

@@ -211,6 +211,7 @@
<option>Polish</option>
<option>Vietnamese</option>
<option>German</option>
<option>Indonesian</option>
</select>
</div>
</div>

View File

@@ -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()