Added bangla language
Added bangla language to CyberPanel
This commit is contained in:
parent
5c56adeb40
commit
4be2200113
|
|
@ -188,6 +188,7 @@ LANGUAGES = (
|
|||
('it', _('Italian')),
|
||||
('de', _('Deutsch')),
|
||||
('id', _('Indonesian')),
|
||||
('bn', _('Bangla')),
|
||||
)
|
||||
|
||||
MEDIA_URL = '/home/cyberpanel/media/'
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -197,6 +197,7 @@
|
|||
<select ng-model="languageSelection" ng-init="languageSelection='english'"
|
||||
class="form-control">
|
||||
<option value="english">English</option>
|
||||
<option>Bangla</option>
|
||||
<option>Bosnian</option>
|
||||
<option>Bulgarian</option>
|
||||
<option>Chinese</option>
|
||||
|
|
@ -235,4 +236,4 @@
|
|||
<script src="{% static 'loginSystem/login-systen.js' %}"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
@ -71,6 +71,8 @@ def verifyLogin(request):
|
|||
user_Language = "de"
|
||||
elif data['languageSelection'] == "Indonesian":
|
||||
user_Language = "id"
|
||||
elif data['languageSelection'] == "Bangla":
|
||||
user_Language = "bn"
|
||||
|
||||
translation.activate(user_Language)
|
||||
response = HttpResponse()
|
||||
|
|
@ -215,4 +217,4 @@ def logout(request):
|
|||
del request.session['userID']
|
||||
return render(request, 'loginSystem/login.html', {})
|
||||
except:
|
||||
return render(request,'loginSystem/login.html',{})
|
||||
return render(request,'loginSystem/login.html',{})
|
||||
Loading…
Reference in New Issue