Added basis for internationlisation

Currently supported: el_GR, en_US, ar_SA, zh_TW
This commit is contained in:
Zhongheng Liu 2024-01-14 22:42:56 +02:00
commit e85f778774
No known key found for this signature in database
8 changed files with 241 additions and 111 deletions

4
src/context.ts Normal file
View file

@ -0,0 +1,4 @@
import { createContext } from "react";
import { LangType } from "./Chat/types";
export const LangContext = createContext<LangType>("en_US");