Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPCP-108] adding more languages #19

Open
wants to merge 29 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6ab4c77
ar(fix) audio health check
angeloreale Aug 27, 2024
7e18d3e
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
00284db
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
cbdaaa1
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
c417d93
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
ab79953
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
edbb965
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
fce82a2
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
e4b5819
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
5d8efd6
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
59aea2c
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
d700ee1
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
ca1c5dc
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
129e628
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
d7ad47d
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
a69889b
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
019f33b
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
50b40eb
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
6ea54b5
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
8791d76
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
4a37ec2
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
da1e4d4
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
2af8bbc
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
abe1193
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
67ad4e1
ar(feat) [DPCP-108]: Adding more languages coverage
angeloreale Sep 2, 2024
473202f
ar(feat) [DPCP-108]: working script
angeloreale Sep 8, 2024
56664d7
ar(feat) [DPCP-108]: working script
angeloreale Sep 8, 2024
68fd789
ar(feat) [DPCP-108]: working script
angeloreale Sep 8, 2024
d71edc0
ar(feat) [DPCP-108]: working script
angeloreale Sep 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 50 additions & 1 deletion components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,38 @@ function Footer({ copyrightHolder = 'Company Name' }) {
<MenuItem value="sv-se">Svenska</MenuItem>
<MenuItem value="et-ee">Eesti</MenuItem>
<MenuItem value="ru-ru">Русский</MenuItem>
<MenuItem value="ja-jp">日本語</MenuItem>
<MenuItem value="ja-jp">日本語</MenuItem>
<MenuItem value="en">English</MenuItem>
<MenuItem value="it-it">Italiano</MenuItem>
<MenuItem value="pt-br">Português</MenuItem>
<MenuItem value="es-es">Español</MenuItem>
<MenuItem value="ro">Română</MenuItem>
<MenuItem value="de-de">Deutsch</MenuItem>
<MenuItem value="fr-fr">Français</MenuItem>
<MenuItem value="pl-pl">Polski</MenuItem>
<MenuItem value="cs-cz">Český</MenuItem>
<MenuItem value="sv-se">Svenska</MenuItem>
<MenuItem value="et-ee">Eesti</MenuItem>
<MenuItem value="ru-ru">Русский</MenuItem>
<MenuItem value="ja-jp">日本語</MenuItem>
<MenuItem value="ar">العربية</MenuItem>
<MenuItem value="he">עברית</MenuItem>
<MenuItem value="zh">中文</MenuItem>
<MenuItem value="nl">Nederlands</MenuItem>
<MenuItem value="da">Dansk</MenuItem>
<MenuItem value="hu">Magyar</MenuItem>
<MenuItem value="ca">Català</MenuItem>
<MenuItem value="eu">Euskara</MenuItem>
<MenuItem value="gl">Galego</MenuItem>
<MenuItem value="sw">Kiswahili</MenuItem>
<MenuItem value="hi">हिन्दी</MenuItem>
<MenuItem value="ms">Bahasa Melayu</MenuItem>
<MenuItem value="bn">বাংলা</MenuItem>
<MenuItem value="pa">ਪੰਜਾਬੀ</MenuItem>
<MenuItem value="tr">Türkçe</MenuItem>
<MenuItem value="fi">Suomi</MenuItem>
<MenuItem value="el">Ελληνικά</MenuItem>
<MenuItem value="ko">한국어</MenuItem>
</Select>
</FormControl>
</div>
Expand Down Expand Up @@ -150,6 +181,24 @@ function Footer({ copyrightHolder = 'Company Name' }) {
<MenuItem value="et-ee">Eesti</MenuItem>
<MenuItem value="ru-ru">Русский</MenuItem>
<MenuItem value="ja-jp">日本語</MenuItem>
<MenuItem value="ar">العربية</MenuItem>
<MenuItem value="he">עברית</MenuItem>
<MenuItem value="zh">中文</MenuItem>
<MenuItem value="nl">Nederlands</MenuItem>
<MenuItem value="da">Dansk</MenuItem>
<MenuItem value="hu">Magyar</MenuItem>
<MenuItem value="ca">Català</MenuItem>
<MenuItem value="eu">Euskara</MenuItem>
<MenuItem value="gl">Galego</MenuItem>
<MenuItem value="sw">Kiswahili</MenuItem>
<MenuItem value="hi">हिन्दी</MenuItem>
<MenuItem value="ms">Bahasa Melayu</MenuItem>
<MenuItem value="bn">বাংলা</MenuItem>
<MenuItem value="pa">ਪੰਜਾਬੀ</MenuItem>
<MenuItem value="tr">Türkçe</MenuItem>
<MenuItem value="fi">Suomi</MenuItem>
<MenuItem value="el">Ελληνικά</MenuItem>
<MenuItem value="ko">한국어</MenuItem>
</Select>
</FormControl>
</section>
Expand Down
60 changes: 56 additions & 4 deletions lib/cjs-constants.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
export const LOCALES = ["en", "pt-br", "it-it", "de-de", "fr-fr", "es-es", "ro", "pl-pl", "cs-cz", "sv-se", "et-ee", "ja-jp", "ru-ru", "default"]
export const LOCALES = [
"en",
"it-it",
"de-de",
"fr-fr",
"ro",
"pl-pl",
"cs-cz",
"sv-se",
"et-ee",
"ja-jp",
"ru-ru",
"pt-br",
"es-es",
"ar",
"he",
"zh",
"nl",
"da",
"hu",
"ca",
"eu",
"gl",
"sw",
"hi",
"ms",
"bn",
"pa",
"tr",
"fi",
"el",
"ko",
"default",
]


export const localeMap = {
"pt": "pt-BR",
"it": "it-IT",
"es": "es-ES",
"de": "de-DE",
"fr": "fr-FR",
"ro": "ro",
Expand All @@ -12,5 +44,25 @@ export const localeMap = {
"pl": "pl-PL",
"et": "et-EE",
"ja": "ja-JP",
"ru": "ru-RU"
"ru": "ru-RU",
"pt": "pt-BR",
"es": "es-ES",
"ar": "ar",
"he": "he",
"zh": "zh",
"nl": "nl",
"da": "da",
"hu": "hu",
"ca": "ca",
"eu": "eu",
"gl": "gl",
"sw": "sw",
"hi": "hi",
"ms": "ms",
"bn": "bn",
"pa": "pa",
"tr": "tr",
"fi": "fi",
"el": "el",
"ko": "ko",
}
68 changes: 68 additions & 0 deletions lib/cjs-constants.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
export const LOCALES = [
"en",
"it-it",
"de-de",
"fr-fr",
"ro",
"pl-pl",
"cs-cz",
"sv-se",
"et-ee",
"ja-jp",
"ru-ru",
"pt-br",
"es-es",
"ar",
"he",
"zh",
"nl",
"da",
"hu",
"ca",
"eu",
"gl",
"sw",
"hi",
"ms",
"bn",
"pa",
"tr",
"fi",
"el",
"ko",
"default",
]


export const localeMap = {
"it": "it-IT",
"de": "de-DE",
"fr": "fr-FR",
"ro": "ro",
"sv": "sv-SE",
"cs": "cs-CZ",
"pl": "pl-PL",
"et": "et-EE",
"ja": "ja-JP",
"ru": "ru-RU",
"pt": "pt-BR",
"es": "es-ES",
"ar": "ar",
"he": "he",
"zh": "zh",
"nl": "nl",
"da": "da",
"hu": "hu",
"ca": "ca",
"eu": "eu",
"gl": "gl",
"sw": "sw",
"hi": "hi",
"ms": "ms",
"bn": "bn",
"pa": "pa",
"tr": "tr",
"fi": "fi",
"el": "el",
"ko": "ko",
}
Loading