Skip to content

Commit 282cf77

Browse files
committed
i18n: Add new language from Transifex: bqi (Luri, Bakhtiari)
Transifex says that `mobile.json` is 9.92% translated, and that's above our 5% threshold for offering it in the UI (see src/settings/languages.js). So, do that. See discussion about what names to use in the UI: https://chat.zulip.org/#narrow/stream/58-translation/topic/Luri.20.28Bakhtiari.29/near/1554760
1 parent 97a4b30 commit 282cf77

File tree

5 files changed

+392
-0
lines changed

5 files changed

+392
-0
lines changed

flow-typed/translations.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ declare module '../../static/translations/messages_bn.json' {
2424
declare export default {| [string]: string |};
2525
}
2626

27+
declare module '../../static/translations/messages_bqi.json' {
28+
declare export default {| [string]: string |};
29+
}
30+
2731
declare module '../../static/translations/messages_ca.json' {
2832
declare export default {| [string]: string |};
2933
}

src/i18n/messages.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default {
1717
be: require('../../static/translations/messages_be.json'),
1818
bg: require('../../static/translations/messages_bg.json'),
1919
bn: require('../../static/translations/messages_bn.json'),
20+
bqi: require('../../static/translations/messages_bqi.json'),
2021
ca: require('../../static/translations/messages_ca.json'),
2122
cy: require('../../static/translations/messages_cy.json'),
2223
cs: require('../../static/translations/messages_cs.json'),

src/settings/languages.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ const languages: $ReadOnlyArray<Language> = [
7474
{ tag: 'sr', name: 'Serbian', selfname: 'Српски' },
7575
{ tag: 'uk', name: 'Ukrainian', selfname: 'Українська' },
7676
{ tag: 'ar', name: 'Arabic', selfname: 'العربية' },
77+
{ tag: 'bqi', name: 'Luri (Bakhtiari)', selfname: 'لوری (بختیاری)' },
7778
{ tag: 'fa', name: 'Persian', selfname: 'فارسی' },
7879
{ tag: 'hi', name: 'Hindi', selfname: 'हिन्दी' },
7980
{ tag: 'ta', name: 'Tamil', selfname: 'தமிழ்' },

0 commit comments

Comments
 (0)