Skeleton for language picker.

This commit is contained in:
codevictory
2021-11-30 23:13:11 +02:00
parent f8193c94e4
commit d12b243454
16 changed files with 1337 additions and 17 deletions

View File

@@ -0,0 +1,4 @@
export const common: Record<string, string> = {
"common.title": "Lintu and Maslo",
"common.subtitle": "August 2022"
}

View File

@@ -0,0 +1,4 @@
export const common: Record<string, string> = {
"common.title": "Lintu ja Maslo",
"common.subtitle": "Elokuussa 2022"
}

View File

@@ -0,0 +1,7 @@
import { common } from "./common/en";
const en: Record<string, string> = {
...common
}
export default en;

View File

@@ -0,0 +1,7 @@
import { common } from "./common/fi";
const fi: Record<string, string> = {
...common
}
export default fi;

View File

@@ -0,0 +1,7 @@
import fi from "./fi";
import en from "./en";
export const localization: { [key: string]: Record<string, string> } = {
fi,
en
}