Roadmap 0.11, Fixes

FX.437 Add-ons in CadCraft and BimCraft stayed English in every language: the add-on loader read the page language too early

  • Fix
  • Built · in the lab
  • CadCraft
  • BimCraft

Found by chem-finish-11 (2026-11-21): an app's own add-on loader is made before the shell's deferred script defines ccShellT, so its locale was en and every add-on of CadCraft and BimCraft (P&ID, Plant, ...) showed English although its language files are filled; CivilCraft (the shell's loader) was right. Fix: loadStrings asks the shell for the locale again (a locale given to the loader still wins). assets/js/addons.js and the eight a Discord member/addons.js (identical). Checked in /lab: loader locale de in CadCraft, BimCraft, CivilCraft with the page in German, en in English; Plant words in German. tools/addons-test/browser-loader.mjs is flaky before and after (1 of 40 in about half the runs, either version).

Waits on: Released apps keep the old loader until the next release (the owner releases).

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.