Skip to content

docs: translate the filament check in the pt-BR store image - #66

Merged
bloodf merged 1 commit into
mainfrom
fix/plate-check-i18n
Nov 17, 2026
Merged

bloodf merged 1 commit into
mainfrom
fix/plate-check-i18n

Conversation

@bloodf

@bloodf bloodf commented Nov 17, 2026

Copy link
Copy Markdown
Owner

The pt-BR "Check filament before a print" image showed "Quantity OK" and "Not enough" in English, and English number formatting (86.0 g).

The plugin is not at fault: plate_rows words these rows with tr() in the page's language, and every string in that path already has entries in pt-BR, es, de, zh-CN and pl. scripts/store_images/render.py built the demo plate once, before switching language, so every image got the English rows.

Changes

  • render.py builds the demo plate per language, under the same host language as the page.
  • Re-rendered assets/orca-cloud/spooler-feature-04-check-pt-BR.png and updated the manifest. The EN image and every other export render byte-identical.

Test plan

  • Printed the plate rows in all six languages: all translated with local number formats
  • Looked at the new pt-BR image
  • CI green

render.py built the plate rows once, in English, so the pt-BR check image
showed "Quantity OK" and "Not enough". The plugin words these rows in
Python in the page's language and already translates them in all six
languages; the render now builds them per language the same way.
@bloodf
bloodf merged commit fc6ea4a into main Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant