Skip to content

Combine language and speech language menus, and add empty locales for those that aren't implemented yet.#1510

Open
dpvc wants to merge 2 commits into
update/menu-locale_defrom
update/language-menu
Open

Combine language and speech language menus, and add empty locales for those that aren't implemented yet.#1510
dpvc wants to merge 2 commits into
update/menu-locale_defrom
update/language-menu

Conversation

@dpvc

@dpvc dpvc commented Jun 17, 2026

Copy link
Copy Markdown
Member

This PR combines the two language menus in the Mathjax contextual menu into a single one that sets both the locale for SRE and the one used for MathJax's Locale framework.

It looks like it has a lot of files, but most are just empty JSON files for the locales that SRE has but that MathJax doesn't yet support. This allows the menu to include languages that are available in SRE, but not in the rest of MathJax, to be selected without causing error messages about missing localization files. I looked at the old v2 localizations to see if we could leverage any of that to fill in some of the new files, but it looked like there was not all that much overlap, even in the TeX messages, since there are now a lot more of them. I haven't tried to AI generate any of the missing data.

Currently the language menu is in the "Math Settings" submenu, but it's not really a setting about math per se. It might be better to move it up to the top-level menu right under "Math Settings". Thoughts?

@dpvc dpvc requested a review from zorkow June 17, 2026 18:40
@dpvc dpvc added this to the v4.2 milestone Jun 17, 2026
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