parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.74k stars 1.38k forks source link

feat: Add internationalization support #2447

Closed badboy-tian closed 1 year ago

badboy-tian commented 1 year ago

New Pull Request Checklist

Issue Description

add multi language support, simple demo Closes: #729

Approach

TODOs before merging

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this pull request!

badboy-tian commented 1 year ago

The package-lock file contains a lot of changes; and the lock file version changes from 1 to 3. Could you please completely revert the lock file and then just run (preferably on Node 16):

npm i -E i18next i18next-browser-languagedetector react-i18next uuid

I couldn't find where UUID is used, please also verify that all the packages above are really required in this PR. Please also take a look at the tests, for example the failing lint.

ERROR in ../node_modules/parse/lib/browser/uuid.js 4:7-25
Module not found: Error: Can't resolve 'uuid/v4' in 'D:\web\parse-dashboard\node_modules\parse\lib\browser'
mtrezza commented 1 year ago

Why is the package suddenly needed? It wasn't needed before?

mtrezza commented 1 year ago

Ci is still failing, could you take a look? Btw, you can run the tests locally to find out whether there are any issues, so you don't have to wait for the CI.