Skip to content

Commit 45243c4

Browse files
authored
Enable 2 new languages: Hindi and Urdu (#359)
1 parent c86021a commit 45243c4

15 files changed

+153
-0
lines changed

website/i18n.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@ import { Locale, NestedStrings, Translations, useI18n as _useI18n } from '@edgea
33
import ar from '@/pages/ar/translations'
44
import en from '@/pages/en/translations'
55
import es from '@/pages/es/translations'
6+
import hi from '@/pages/hi/translations'
67
import ja from '@/pages/ja/translations'
78
import ko from '@/pages/ko/translations'
9+
import ur from '@/pages/ur/translations'
810
import vi from '@/pages/vi/translations'
911
import zh from '@/pages/zh/translations'
1012

1113
const appLocales = [
1214
Locale.ARABIC,
1315
Locale.ENGLISH,
1416
Locale.SPANISH,
17+
Locale.HINDI,
1518
Locale.JAPANESE,
1619
Locale.KOREAN,
20+
Locale.URDU,
1721
Locale.VIETNAMESE,
1822
Locale.CHINESE,
1923
] as const
@@ -37,8 +41,10 @@ export const translations = {
3741
ar,
3842
en,
3943
es,
44+
hi,
4045
ja,
4146
ko,
47+
ur,
4248
vi,
4349
zh,
4450
}

website/pages/de/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/fr/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/hi/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/it/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/mr/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/nl/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/pl/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/pt/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/ru/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/sv/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/tr/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/uk/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/pages/ur/translations.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import docsearch from './docsearch.json'
2+
import global from './global.json'
3+
import index from './index.json'
4+
5+
const translations = {
6+
global,
7+
index,
8+
docsearch,
9+
}
10+
11+
export default translations

website/route-lockfile.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@
256256
/fr/release-notes/graphql-validations-migration-guide/
257257
/fr/substreams/
258258
/fr/tokenomics/
259+
/hi/
260+
/hi/404/
259261
/hi/about/
260262
/hi/arbitrum-faq/
261263
/hi/billing/
@@ -854,6 +856,8 @@
854856
/uk/release-notes/graphql-validations-migration-guide/
855857
/uk/substreams/
856858
/uk/tokenomics/
859+
/ur/
860+
/ur/404/
857861
/ur/about/
858862
/ur/arbitrum-faq/
859863
/ur/billing/

0 commit comments

Comments
 (0)