Feature Localization (i18n) Support (#557)

* init localization

* Update defaul to en

* Fix merge issue and import path.

* Set default to en

* Change jsx to tsx

* Update the password max length string.

* Remove languageContext as using the recoil instead.
This commit is contained in:
Abner Chou 2023-07-11 15:55:21 -04:00 committed by GitHub
parent 13627c7f4f
commit 47e5493744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 29076 additions and 115 deletions

View file

@ -7,6 +7,7 @@ import submission from './submission';
import search from './search';
import preset from './preset';
import token from './token';
import lang from './language';
export default {
...conversation,
@ -17,5 +18,6 @@ export default {
...submission,
...search,
...preset,
...token
...token,
...lang
};

View file

@ -0,0 +1,8 @@
import { atom } from 'recoil';
const lang = atom({
key: 'lang',
default: 'en'
});
export default { lang };