Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
docs(translations): document the Crowdin export and parser settings (#10201)
Josh Corbette7a827ed5047
diff --git a/docs/README.md b/docs/README.mdindex bedac6c23b..719adcb39f 100644--- a/docs/README.md+++ b/docs/README.md@@ -46,7 +46,7 @@ Nothing else changes: Starlight's routes, the language menu, `scripts/verify-dep### Reviewing a Crowdin pull request-Docs CI runs `pnpm test`, the build (links included) and the deploy checks on it. `src/lib/translation-checks.mjs` parses each translated page as the build does (Astro's frontmatter parser, then MDX or Markdown with the build's GitHub Flavored Markdown and Starlight directive plugins) and compares it with the English page at the same path. A translation may change prose, comments and code samples; anything else fails with the file and the offending key, element or value:+Docs CI runs `pnpm test`, the build (links included) and the deploy checks on it. `src/lib/translation-checks.mjs` parses each translated page as the build does (Astro's frontmatter parser, then MDX or Markdown with the build's GitHub Flavored Markdown and Starlight directive plugins) and compares it with the English page at the same path. A translation may change prose, comments and code samples (Crowdin doesn't offer code blocks for translation, so they arrive as in English); anything else fails with the file and the offending key, element or value:- a directory in `src/content/docs/` or a file in `src/content/i18n/` for a locale `locales.mjs` doesn't configure;- a file in a locale directory that isn't a page, or a page with no English page at the same path;@@ -58,19 +58,23 @@ Docs CI runs `pnpm test`, the build (links included) and the deploy checks on it- frontmatter beyond `title`, `description`, `hero.title`, `hero.tagline`, `sidebar.label` and `hero.actions[].text` that differs from English, such as `head`, `template` or a link, or any of those containing `<`;- a string in `<locale>.json` with a key `en.json` lacks (plural messages may use any of `_zero`, `_one`, `_two`, `_few`, `_many`, `_other`), different `{{placeholders}}` or tags, or `<script`, `on…=` or `javascript:`.-Fix failures in Crowdin, not in the pull request. The checks don't judge language, so still read for meaning, tone and product names left in English (Invoke, node and model names), for edited commands and values in code samples, and for the rendering in a preview build (`pnpm build && pnpm preview`), especially Hindi.+Fix failures in Crowdin, not in the pull request. The checks don't judge language, so still read for meaning, tone and product names left in English (Invoke, node and model names), for edited commands and values in inline code, and for the rendering in a preview build (`pnpm build && pnpm preview`), especially Hindi.Before merging the first real translation, run `pnpm test` on the first sync's pull request, or locally on `pnpm dlx @crowdin/cli download --pseudo` output (run from the repository root; it writes into the locale directories, so delete them afterwards). It confirms that Crowdin's MDX v2 export leaves imports, components and expressions byte-identical, which every later check relies on.-### Crowdin parser settings+### Crowdin settings-`crowdin.yml` sets the file types: MDX v2 (`mdx_v2`) for `.mdx`, Markdown for `.md` and i18next JSON for `en.json`, so `_one`/`_other` keys become plural forms. In Crowdin's Settings → Parser configuration, exclude the frontmatter that isn't prose, for both MDX and Markdown:+In Crowdin's Settings → Translations, turn on **Skip untranslated files** under export. Otherwise Crowdin exports every file in every locale with English in place of missing translations, and those copies replace the site's English fallback and its "not translated yet" notice. Leave **Skip untranslated strings** off: in MDX it drops untranslated paragraphs from the page.-`lastUpdated`, `template`, `slug`, `sidebar.order`, `sidebar.hidden`, `pagefind`, `draft`, `alsoListedIn`, `hero.actions.link`, `hero.image.file`+`crowdin.yml` sets the file types: MDX v2 (`mdx_v2`) for `.mdx`, Markdown for `.md` and i18next JSON for `en.json`, so `_one`/`_other` keys become plural forms. In Settings → Parser configuration, for both MDX and Markdown:++- Turn on **Exclude code blocks**. Code blocks hold commands, config keys and values, and the translation checks let code samples change, so an edited command would pass CI.+- Exclude the frontmatter that isn't prose: `lastUpdated`, `template`, `slug`, `sidebar.order`, `sidebar.hidden`, `pagefind`, `draft`, `alsoListedIn`, `hero.actions.link`, `hero.image.file`.+- Export `_` for emphasis and `-` for list bullets, as the English pages use, so translated pages diff cleanly against them.### Translator context notes-After the first sync, paste these into each string's context in Crowdin.+Each string's context in Crowdin holds its note below. Give a new short or ambiguous key a note there and here.| Key | Note || --- | --- |diff --git a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdx b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdxindex 7547496f0e..f833ad9689 100644--- a/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdx+++ b/docs/src/content/docs/Users Guide/03.Models/Local Models/flux-3.mdx@@ -70,7 +70,7 @@ values with the switches on compare against bf16 images made with that same enco- **Speed:** without a compute switch, every quantized layer is dequantized on each forward, so on this card thequantized builds take up to 13 % longer than bf16. [int8 Compute](/configuration/optimization/int8-compute/) makesthe int8 build the fastest, 1.52× as fast as bf16, and- [`fp8_compute`](/configuration/optimization/fp8-storage/#fp8-compute) makes fp8r 1.16× as fast as bf16. Neither+ [`fp8_compute`](/configuration/optimization/fp8-compute/) makes fp8r 1.16× as fast as bf16. Neitheraffects nvfp4 or GGUF.- **Memory:** the quantized builds peak about 5 GiB below bf16.diff --git a/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.json b/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.jsonindex 2ed24c4eea..100cec9c70 100644--- a/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.json+++ b/invokeai/frontend/webv2/src/workbench/palette/docsSearchIndex.json@@ -59,13 +59,13 @@{"s":"users-guide/models/local-models/ernie-image","t":"ERNIE-Image","d":"Generate images with Baidu's ERNIE-Image and ERNIE-Image Turbo, from the Diffusers pipelines, the single-file transformers or GGUF.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["prompt-enhancer","Prompt enhancer"]]},{"s":"users-guide/models/local-models/flux-1","t":"FLUX.1","d":"Generate and edit images with FLUX.1 dev, schnell, Krea dev and Kontext, plus FLUX Fill, Redux, IP-Adapter, ControlNets and Control LoRAs.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["reference-images","Reference images"],["controlnets-and-control-loras","ControlNets and Control LoRAs"],["flux-fill","FLUX Fill"],["lora","LoRA"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},{"s":"users-guide/models/local-models/flux-2","t":"FLUX.2","d":"Generate and edit images with FLUX.2 Klein (4B and 9B, distilled and Base) and FLUX.2 [dev], including multi-reference image editing and the FLUX.2 [dev] Fun-ControlNet-Union.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["klein-starter-models","Klein starter models"],["flux2-dev-starter-models","FLUX.2 [dev] starter models"],["generation-settings","Generation settings"],["reference-images","Reference images"],["controlnet","ControlNet"],["regional-guidance","Regional guidance"],["lora","LoRA"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},-{"s":"users-guide/models/local-models/flux-3","t":"FLUX.3","d":"Generate and edit images with FLUX.3 Image Klein (step-distilled) and Klein Base, including editing with up to ten reference images, LoRAs, layout boxes from Canvas regional guidance and the GGUF / single-file workflow.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["reference-images","Reference images"],["loras","LoRAs"],["canvas","Canvas"],["layout-boxes-from-regional-guidance","Layout boxes from regional guidance"],["layout-and-box-edits-in-the-prompt","Layout and box edits in the prompt"],["prompt-upsampler-model","Prompt upsampler model"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},+{"s":"users-guide/models/local-models/flux-3","t":"FLUX.3","d":"Generate and edit images with FLUX.3 Image Klein (step-distilled) and Klein Base, including editing with up to ten reference images, LoRAs, layout boxes from Canvas regional guidance and the GGUF, single-file and quantized builds.","c":2,"h":[["license","License"],["hardware","Hardware"],["speed-and-quality-by-build","Speed and quality by build"],["installing","Installing"],["quantized-single-files","Quantized single files"],["reference-images","Reference images"],["loras","LoRAs"],["canvas","Canvas"],["layout-boxes-from-regional-guidance","Layout boxes from regional guidance"],["layout-and-box-edits-in-the-prompt","Layout and box edits in the prompt"],["prompt-upsampler-model","Prompt upsampler model"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},{"s":"users-guide/models/local-models/ideogram4","t":"Ideogram 4","d":"Generate images with the Ideogram 4 text-to-image models.","c":2,"h":[["ideogram-4","Ideogram 4"],["license","License"],["installing-ideogram-4","Installing Ideogram 4"],["memory-use-during-generation","Memory use during generation"],["prompting-ideogram-4","Prompting Ideogram 4"],["generation-settings","Generation settings"]]},{"s":"users-guide/models/local-models/krea-2","t":"Krea-2","d":"Generate images with the Krea-2 text-to-image models (Turbo and Raw), including the GGUF / single-file workflow, the conditioning enhancers, training-free style reference and edit LoRAs with reference images.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["qwen3-vl-gguf-encoders","Qwen3-VL GGUF encoders"],["conditioning-enhancers","Conditioning enhancers"],["multiple-conditionings","Multiple conditionings"],["style-reference","Style reference"],["lora","LoRA"],["edit-loras-and-reference-images","Edit LoRAs and reference images"],["in-the-generate-panel-and-on-the-canvas","In the Generate panel and on the Canvas"],["in-the-workflow-editor","In the workflow editor"],["reference-kv-cache","Reference K/V cache"],["attention-backend","Attention backend"]]},{"s":"users-guide/models/local-models/moss-image","t":"MOSS-Image","d":"Generate and edit images with OpenMOSS's MOSS-Image Base and SFT, from the Diffusers pipelines or a single-file transformer, including JSON layout prompts, layouts from canvas regions and a prompt enhancer.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["transformer-formats","Transformer formats"],["generation-settings","Generation settings"],["skip-layers","Skip layers"],["prompting","Prompting"],["json-layouts","JSON layouts"],["layout-with-canvas-regions","Layout with canvas regions"],["prompt-enhancer","Prompt enhancer"],["limitations","Limitations"],["workflow-nodes","Workflow nodes"]]},{"s":"users-guide/models/local-models/qwen-image","t":"Qwen Image","d":"Generate and edit images with the Qwen Image 2512 text-to-image model and the Qwen Image Edit 2511 reference-image editing model, including GGUF and fp8 installs, the Lightning LoRAs and the Fun and InstantX ControlNet Unions.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["lightning-loras-4-and-8-steps","Lightning LoRAs (4 and 8 steps)"],["image-editing-with-reference-images","Image editing with reference images"],["lora","LoRA"],["controlnet","ControlNet"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-nodes","Workflow nodes"]]},{"s":"users-guide/models/local-models/qwen-image-2-1","t":"Qwen-Image-2.1","d":"Generate images with Qwen-Image-2.1 and its 8-step Turbo variant, from the Diffusers folders, a GGUF or an int8 transformer, including transparent (RGBA) output.","c":2,"h":[["qwen-image-21","Qwen-Image-2.1"],["license","License"],["installing-qwen-image-21","Installing Qwen-Image-2.1"],["memory-and-speed","Memory and speed"],["reference-images","Reference images"],["transparent-images","Transparent images"],["loras","LoRAs"],["generation-settings","Generation settings"]]},-{"s":"users-guide/models/local-models/sd-3","t":"Stable Diffusion 3.5","d":"Generate images with Stability AI's Stable Diffusion 3.5 Medium and Large models, including text encoder options and PiD super-resolution decoding.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["optional-component-overrides","Optional component overrides"],["generation-settings","Generation settings"],["canvas","Canvas"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-editor","Workflow editor"]]},+{"s":"users-guide/models/local-models/sd-3","t":"Stable Diffusion 3.5","d":"Generate images with Stability AI's Stable Diffusion 3.5 Medium and Large models, including text encoder options and PiD super-resolution decoding.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["optional-component-overrides","Optional component overrides"],["generation-settings","Generation settings"],["canvas","Canvas"],["lora","LoRA"],["pid-super-resolution-decode","PiD super-resolution decode"],["workflow-editor","Workflow editor"]]},{"s":"users-guide/models/local-models/sdxl","t":"SDXL","d":"Generate images with Stable Diffusion XL models, including the fp16-fix VAE, ControlNet, T2I-Adapter, IP-Adapter reference images, PiD decoding and the SDXL Refiner.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["turbo-models","Turbo models"],["vae","VAE"],["inpainting-models","Inpainting models"],["loras-and-embeddings","LoRAs and embeddings"],["control-layers","Control layers"],["reference-images-ip-adapter","Reference images (IP-Adapter)"],["regional-guidance","Regional guidance"],["pid-decoding","PiD decoding"],["upscaling","Upscaling"],["sdxl-refiner","SDXL Refiner"],["workflows","Workflows"]]},{"s":"users-guide/models/local-models/stable-diffusion-1-2","t":"Stable Diffusion 1.5 / 2.x","d":"Generate images with Stable Diffusion 1.5 and legacy SD 2.x models, including inpainting models, ControlNet, T2I-Adapter, IP-Adapter reference images, LoRAs and embeddings.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["generation-settings","Generation settings"],["inpainting-models","Inpainting models"],["loras-and-embeddings","LoRAs and embeddings"],["control-layers","Control layers"],["reference-images-ip-adapter","Reference images (IP-Adapter)"],["regional-guidance","Regional guidance"],["upscaling","Upscaling"],["workflows","Workflows"],["sd-2x","SD 2.x"]]},{"s":"users-guide/models/local-models/z-image","t":"Z-Image","d":"Generate images with Z-Image Turbo and Z-Image Base, including the GGUF, NVFP4, int8 and SDNQ builds, ControlNets and regional prompting.","c":2,"h":[["license","License"],["hardware","Hardware"],["installing","Installing"],["choosing-components","Choosing components"],["generation-settings","Generation settings"],["controlnet","ControlNet"],["regional-prompting","Regional prompting"],["lora","LoRA"],["seed-variance-enhancer","Seed Variance Enhancer"],["pid-decoding","PiD decoding"]]},