Merge pull request #367 from istiak101/stable

Added Bangla language
This commit is contained in:
Usman Nasir
2020-06-23 14:04:35 +05:00
committed by GitHub
5 changed files with 6683 additions and 2 deletions

View File

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

View File

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

View File

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