InvokeAI/frontend
blessedcoolant 1d34405f4f
[WebUI] Localization Support (#2050)
* Initial Localization Implementation

* Fix Initial Spinner

* Language Picker Dropdown

* RU Localization Update

Co-Authored-By: Artur <83028930+netsvetaev@users.noreply.github.com>

* Fixed localization breaking themes

* useUpdateTranslation Hook

To force trigger translations for data objects

* Localize Tab Data

* Localize Prompt Input & Current Image Buttons

* Localize Gallery & Bug FIxes

Fix a bug where the delete image from the context menu wasn't working. Removed tooltips that were broken as they don't work in context menu.

* Fix localization breaking in production

* Add Toast Localization Support

* Localize Unified Canvas

* Localize WIP Tabs

* Localize Hotkeys

* Localize Settings

* RU Localization Update

Co-Authored-By: Artur <83028930+netsvetaev@users.noreply.github.com>

* Add Support for Italian and Portuguese

* Localize Toasts

* Fix width of language picker items

* Localize Backend Messages

* Disable Debug Messages

* Add Support for French

* Fix missing localization for a string in the SettingsModal

* Disable French

* Styling updates to normalize text and accommodate other langs

* Add Portuguese Brazilian

* Fix Hotkey headers not being localized.

* Fix styling issue on models tag in Settings

* Fix Slider Styling to accommodate different languages

* Fix slider styling in light mode.

* Add German

* Add Italian

* Add Polish

* Update Italian

* Localized Frontend Build

* Updated RU Translations

* Fresh Build with updated RU changes

* Bug Fixes and Loc Updates

* Updated Frontend Build

* Fresh Build

Co-authored-by: Artur <83028930+netsvetaev@users.noreply.github.com>
2022-12-24 18:23:21 +00:00
..
dist [WebUI] Localization Support (#2050) 2022-12-24 18:23:21 +00:00
patches Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
public/locales [WebUI] Localization Support (#2050) 2022-12-24 18:23:21 +00:00
src [WebUI] Localization Support (#2050) 2022-12-24 18:23:21 +00:00
.eslintrc.cjs Reduce frontend eslint warnings to 0 2022-12-16 10:18:45 +13:00
.gitignore Fix WebUI Not Working 2022-10-07 08:09:55 +13:00
eslintconfig.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
favicon.ico Add New WebUI and Desktop Mode 2022-10-03 23:28:53 -04:00
index.d.ts React web UI with flask-socketio API (#429) 2022-09-16 13:18:15 -04:00
index.html Auto-format frontend (#2009) 2022-12-16 13:56:39 +01:00
package.json [WebUI] Localization Support (#2050) 2022-12-24 18:23:21 +00:00
README.md Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
tsconfig.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
tsconfig.node.json Merge dev into main for 2.2.0 (#1642) 2022-11-30 16:12:23 -05:00
vite.config.ts Auto-format frontend (#2009) 2022-12-16 13:56:39 +01:00
yarn.lock [WebUI] Localization Support (#2050) 2022-12-24 18:23:21 +00:00

Stable Diffusion Web UI

Run

Evironment

Install node (includes npm) and optionally yarn.

From frontend/ run npm install / yarn install to install the frontend packages.

Dev

  1. From frontend/, run npm dev / yarn dev to start the dev server.
  2. Run python scripts/dream.py --web.
  3. Navigate to the dev server address e.g. http://localhost:5173/.

To build for dev: npm build-dev / yarn build-dev

To build for production: npm build / yarn build

TODO

  • Search repo for "TODO"