Skip to content

Commit d794b15

Browse files
committed
i18n: Add new languages: ace (Acehnese), ha (Hausa), yo (Yoruba)
These are all still showing 0% translated in Transifex, so it's not yet time to offer them in the UI. Perhaps soon!
1 parent 3a43fa6 commit d794b15

File tree

5 files changed

+1386
-0
lines changed

5 files changed

+1386
-0
lines changed

flow-typed/translations.js

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ declare module '\''../../$_'\'' {
88
' >>flow-typed/translations.js
99
*/
1010

11+
declare module '../../static/translations/messages_ace.json' {
12+
declare export default {| [string]: string |};
13+
}
14+
1115
declare module '../../static/translations/messages_am.json' {
1216
declare export default {| [string]: string |};
1317
}
@@ -100,6 +104,10 @@ declare module '../../static/translations/messages_gu.json' {
100104
declare export default {| [string]: string |};
101105
}
102106

107+
declare module '../../static/translations/messages_ha.json' {
108+
declare export default {| [string]: string |};
109+
}
110+
103111
declare module '../../static/translations/messages_hi.json' {
104112
declare export default {| [string]: string |};
105113
}
@@ -248,6 +256,10 @@ declare module '../../static/translations/messages_vi.json' {
248256
declare export default {| [string]: string |};
249257
}
250258

259+
declare module '../../static/translations/messages_yo.json' {
260+
declare export default {| [string]: string |};
261+
}
262+
251263
declare module '../../static/translations/messages_yue.json' {
252264
declare export default {| [string]: string |};
253265
}

src/i18n/messagesByLanguage.js

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// language names: they have the names given to them by the `tx` Transifex
1414
// client, which are based on the language names that appear in Transifex.
1515
export default {
16+
ace: require('../../static/translations/messages_ace.json'),
1617
am: require('../../static/translations/messages_am.json'),
1718
ar: require('../../static/translations/messages_ar.json'),
1819
be: require('../../static/translations/messages_be.json'),
@@ -35,6 +36,7 @@ export default {
3536
fr: require('../../static/translations/messages_fr.json'),
3637
gl: require('../../static/translations/messages_gl.json'),
3738
gu: require('../../static/translations/messages_gu.json'),
39+
ha: require('../../static/translations/messages_ha.json'),
3840
hi: require('../../static/translations/messages_hi.json'),
3941
hr: require('../../static/translations/messages_hr.json'),
4042
hu: require('../../static/translations/messages_hu.json'),
@@ -72,6 +74,7 @@ export default {
7274
ur: require('../../static/translations/messages_ur.json'),
7375
uz: require('../../static/translations/messages_uz.json'),
7476
vi: require('../../static/translations/messages_vi.json'),
77+
yo: require('../../static/translations/messages_yo.json'),
7578
yue: require('../../static/translations/messages_yue.json'),
7679
'zh-Hans': require('../../static/translations/messages_zh-Hans.json'),
7780
'zh-Hant': require('../../static/translations/messages_zh-Hant.json'),

0 commit comments

Comments
 (0)