Skip to content

fix localization of toolbox subcategories and groups for staticpkg#11293

Merged
riknoll merged 2 commits intomasterfrom
dev/riknoll/ev3-static-package-toolbox-group-localization
May 6, 2026
Merged

fix localization of toolbox subcategories and groups for staticpkg#11293
riknoll merged 2 commits intomasterfrom
dev/riknoll/ev3-static-package-toolbox-group-localization

Conversation

@riknoll
Copy link
Copy Markdown
Member

@riknoll riknoll commented May 5, 2026

fixes the issue reported here and here

the issue was that we copy over the group/subcategory strings when we download the localizations for a package, but in staticpkg targets we download all of those localized strings from bundled-strings.json which doesn't go down the same code path. i've refactored the copying so that it is now invoked in both places.

@THEb0nny @PetteriAimonen can you try testing this out and let me know if it fixes the issue? i'm not really set up to test the EV3 staticpkg target locally

@riknoll riknoll requested a review from a team May 5, 2026 17:33
@PetteriAimonen
Copy link
Copy Markdown

Thanks! The fix makes sense, now I'll just need to figure out how to build pxt-ev3 against the updated pxt. I'm very new to the inner workings of the pxt system :)

@PetteriAimonen
Copy link
Copy Markdown

Sorry, I couldn't get npm run build for pxt to succeed tonight, presumably for reasons unrelated to the actual pull request. Just getting silly errors like Module not found: Error: Can't resolve './Fonts.css' in '.../pxt/pxt/kiosk/src'. I'll try to find time to try again tomorrow.

@riknoll
Copy link
Copy Markdown
Member Author

riknoll commented May 5, 2026

Sorry, I couldn't get npm run build for pxt to succeed tonight, presumably for reasons unrelated to the actual pull request. Just getting silly errors like Module not found: Error: Can't resolve './Fonts.css' in '.../pxt/pxt/kiosk/src'. I'll try to find time to try again tomorrow.

@PetteriAimonen if npm run build gives you too much trouble, you can also give gulp -n a shot instead. that'll skip the building of all the subapps (like kiosk) and just build the core pxt stuff

@PetteriAimonen
Copy link
Copy Markdown

Thanks, after a clean checkout I got it to build.

I confirm that the toolbox translation bug is fixed by this pull request.

@riknoll riknoll enabled auto-merge (squash) May 6, 2026 19:06
@riknoll riknoll merged commit 2f66eec into master May 6, 2026
20 checks passed
@riknoll riknoll deleted the dev/riknoll/ev3-static-package-toolbox-group-localization branch May 6, 2026 19:17
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.

3 participants