mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
Webatrice: i18n (#4562)
* implement i18n capability * reset package.lock file * remove custom fallback * fix relative path for i18n files * check for language support before fetch request * add LanguageDropdown component, es translation file to prove functionality * remove boilerplate * bundle default english translation with app * add missing file * rollup component-level i18n files * cleanup Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
217dc09c0f
commit
9577ada171
22 changed files with 365 additions and 111 deletions
|
|
@ -13,6 +13,8 @@
|
|||
"dexie": "^3.0.3",
|
||||
"final-form": "^4.20.4",
|
||||
"final-form-set-field-touched": "^1.0.1",
|
||||
"i18next": "^21.6.10",
|
||||
"i18next-browser-languagedetector": "^6.1.3",
|
||||
"jquery": "^3.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"prop-types": "^15.7.2",
|
||||
|
|
@ -21,6 +23,7 @@
|
|||
"react-dom": "^17.0.2",
|
||||
"react-final-form": "^6.5.7",
|
||||
"react-final-form-listeners": "^1.0.3",
|
||||
"react-i18next": "^11.15.3",
|
||||
"react-redux": "^7.2.6",
|
||||
"react-router-dom": "^5.3.0",
|
||||
"react-scripts": "4.0.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue