added Bengali (Bangla)

- added Bengali (Bangla) language translation
https://github.com/SpotX-CLI/SpotX-Win/issues/264

Co-Authored-By: RHYTHM <66105148+nishatrhythm@users.noreply.github.com>
This commit is contained in:
amd64fox
2023-01-01 11:51:00 +03:00
parent 0efe92ad5f
commit 3a2b643ede
2 changed files with 66 additions and 1 deletions

View File

@@ -119,7 +119,7 @@ function Format-LanguageCode {
$supportLanguages = @(
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de', 'hu', 'zh', 'zh-TW', 'ko', 'ua', 'fa', 'sr', 'lv'
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de', 'hu', 'zh', 'zh-TW', 'ko', 'ua', 'fa', 'sr', 'lv', 'bn'
)
@@ -213,6 +213,10 @@ function Format-LanguageCode {
$returnCode = 'lv'
break
}
'^bn' {
$returnCode = 'bn'
break
}
Default {
$returnCode = $PSUICulture
$long_code = $true