imodeljs / desktop-starter

An iTwin.js Desktop starter app
https://itwinjs.org
MIT License
21 stars 12 forks source link

How to modify the application language #66

Open zly258 opened 3 years ago

zly258 commented 3 years ago

image

pmconne commented 3 years ago

@aruniverse it looks like this will be fixed by https://github.com/imodeljs/create-react-app/pull/37 ?

aruniverse commented 3 years ago

If you are using the desktop-srarter as your template and haven't changed any of the commands in this package.json file this is to be expected. The text you see are pseudolocalized and only show up in development.

The start commands calls start-frontend which call react-scripts start, which sets the NODE_ENV to development. I would suggest either setting it to production in that command with cross-env or running the frontend build output directly.