mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 15:26:13 +01:00
@@ -188,6 +188,7 @@ LANGUAGES = (
|
||||
('it', _('Italian')),
|
||||
('de', _('Deutsch')),
|
||||
('id', _('Indonesian')),
|
||||
('bn', _('Bangla')),
|
||||
)
|
||||
|
||||
MEDIA_URL = '/home/cyberpanel/media/'
|
||||
|
||||
BIN
locale/bn/LC_MESSAGES/django.mo
Normal file
BIN
locale/bn/LC_MESSAGES/django.mo
Normal file
Binary file not shown.
6677
locale/bn/LC_MESSAGES/django.po
Normal file
6677
locale/bn/LC_MESSAGES/django.po
Normal file
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',{})
|
||||
Reference in New Issue
Block a user