Switching the language back to English leaves most pages in the previous language #191
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/isaac-btw--AmericasLauncher#191
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@laalaalaee on GitHub · 2026-12-04 12:07 UTC · original
Version: v2.2.2
Steps
What happens
Only the sidebar goes back to English. The page content (FoxHound, Darner, Save, Mods, Settings, ...) stays in Polish. The sidebar's "Questions & Requests? / Click here" link can also keep a language picked earlier (here it showed the Portuguese "Perguntas e sugestões?" after switching from Polish to English).
Expected
Everything goes back to English.
Cause
Localizer.WalkenumeratesLogicalTreeHelper.GetChildren()while it translates the children. Setting aRun's text (the sidebar's "Questions & Requests?" link) changes the inline collection being enumerated, so the walk throwsInvalidOperationException: Collection was modifiedthere and thecatchinApplyends it. While a translation is on, the 300 ms timer repeats the walk and hides this; switching back to English runs a single pass and stops the timer, so everything after the sidebar link is never restored.I have a fix ready and will open a PR for it.