Blank i18n structure for many more languages

This commit is contained in:
Brandon Thomas committed 2022-07-29 03:29:41 -04:00
1 parent f0985bdaf4
commit b18cd40a6f
44 files changed
+526

No files matched your search

@@ -4,12 +4,38 @@ import { COMMON_TRANSLATIONS, DebugPrefixLeaves, MergeDeepDictionary } from '@st
// NB: This is the new translation system design. Multiple, per-page or per-module files are easier
// to navigate and maintain than singular monolithic files. We'll gradually phase out the old system.
import * as de from './locales/de';
import * as en from './locales/en';
import * as es from './locales/es';
import * as fr from './locales/fr';
import * as hi from './locales/hi';
import * as id from './locales/id';
import * as it from './locales/it';
import * as ja from './locales/ja';
import * as ko from './locales/ko';
import * as nl from './locales/nl';
import * as pl from './locales/pl';
import * as pt from './locales/pt';
import * as tr from './locales/tr';
import * as vi from './locales/vi';
import * as zh from './locales/zh';
let NEW_TRANSLATIONS: any = {
de: { translation: de },
en: { translation: en },
es: { translation: es },
fr: { translation: fr },
hi: { translation: hi },
id: { translation: id },
it: { translation: it },
ja: { translation: ja },
ko: { translation: ko },
nl: { translation: nl },
pl: { translation: pl },
pt: { translation: pt },
tr: { translation: tr },
vi: { translation: vi },
zh: { translation: zh },
}
// Make it easy to "see" new translations. Comment out when not developing.
@@ -0,0 +1,8 @@
// "de" - German
// 1.1 billion speakers (worldwide #1)
// Twitch #4 (150k concurrent viewers, 4.5k concurrent streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
Whitespace-only changes.
@@ -1,3 +1,6 @@
// "en" - English
// 1.1 billion speakers (worldwide #1)
// Twitch #1 (1.1m concurrent viewers, 52k concurrent streamers)
import * as tts from './tts';
export {
Whitespace-only changes.
@@ -1,3 +1,6 @@
// "es" - Spanish
// 534 million speakers (worldwide #4)
// Twitch #2 (288k concurrent viewers, 10k concurrent streamers)
import * as tts from './tts';
export {
@@ -0,0 +1,8 @@
// "fr" - French
// 280 million speakers (worldwide #5)
// Twitch #5 (140k concurrent viewers, 4.4k concurrent streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "hi" - Hindi
// 615 million speakers (worldwide #3)
// Twitch negligable (<50 streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "id" - Indonesian
// 200 million speakers (worldwide #10)
// Twitch #23 (600 concurrent viewers, 97 concurrent streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "it" - Italian
// 67 million speakers (worldwide #?)
// Twitch #10 (41k concurrent viewers, 1.2k concurrent viewers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "ja" - Japanese
// 128 million speakers (worldwide #13)
// Twitch #7 (87k concurrent viewers, 2.6k concurrent streams)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "ko" - Korean
// 75 million speakers (worldwide #?)
// Twitch #8 (144k concurrent viewers, 2.5k concurrent streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "nl" - Dutch
// 25 million speakers (worldwide #low)
// Twitch #17 (3.5k concurrent viewers, 300 concurrent streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "pl" - Polish
// 50 million speakers (worldwide #23)
// Twitch #12 (40k concurrent viewers, 800 concurrent streamers)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "pt" - Portuguese
// 200 million speakers (worldwide #9)
// Twitch #3 (200k concurrent viewers!, 5.5k concurrent streams)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "tr" - Turkish
// 90 million speakers (worldwide #20)
// Twitch #11
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "vi" - Vietnamese
// 87 million speakers (worldwide #21)
// Twitch #30 (a paltry 170 concurrent viewers, 70 concurrent channels)
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}
@@ -0,0 +1,8 @@
// "zh" - Mandarin
// 1.1 billion speakers (worldwide #2)
// Twitch #9
import * as tts from './tts';
export {
tts,
}
@@ -0,0 +1,25 @@
{
"form": {
"asyncLoadingDropdownValue": "Loading...",
"buttons": {
"clear": "Clear",
"speak": "Speak"
},
"by": "by",
"categoryFiltersLabel": "Category / Langauge",
"modelSeeMoreLink": "See more details about the \"<1>{{modelName}}</1>\" model by <3>{{userName}}</3>",
"searchHint": "Search Term",
"searchLabel": "Search",
"textInputHint": "Textual shenanigans go here...",
"voicesLabel": "Voice ({{count}} to choose from)"
},
"formTitle": "Create TTS",
"heroSection": {
"buttons": {
"cloneVoice": "Clone My Voice!",
"signUp": "Sign Up"
},
"subtitle": "Use <strong>FakeYou</strong> deep fake tech to say stuff with your favorite characters",
"title": "Text to Speech"
}
}
@@ -0,0 +1,5 @@
import * as TtsModelListPage from './TtsModelListPage.json';
export {
TtsModelListPage,
}