import { da } from "./translations/da";
import { oc } from "./translations/oc";
import { hr } from "./translations/hr";
+import { th } from "./translations/th";
// https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
const resources = {
da,
oc,
hr,
+ th,
};
function format(value: any, format: any): any {
{ code: "sv", name: "Svenska" },
{ code: "sq", name: "Shqip" },
{ code: "sr_Latn", name: "srpski" },
+ { code: "th", name: "ภาษาไทย" },
{ code: "tr", name: "Türkçe" },
{ code: "uk", name: "Українська Mова" },
{ code: "ru", name: "Русский" },
lang = "oc";
} else if (lang.startsWith("hr")) {
lang = "hr";
+ } else if (lang.startsWith("th")) {
+ lang = "th";
} else {
lang = "en";
}