Should upright integrals be auto-enabled based on the language?

The English language usually has slanted integrals that look like this:

Some languages, like German, use upright integrals instead:
grafik

When using the default font ‘New Computer Modern Math’, this upright version can be enabled using stylistic set 2 in the text function (ss02 in OpenType parlance).

show math.equation: set text(stylistic-set: 2)

This information was not readily available; I had to dig into the font files and changelogs on ctan to find this feature. So, for the sake of convenience, I believe that setting the language to an upright integral locale, like German, should automatically enable ss02 when using the default font. Or, alternatively, the guide should mention this feature in the maths section and that the upright stylistic set may be present in other fonts too.

Hello. If you’re sure that this is the case for German, you can request a feature.

There are subtle variants for each language. I think nowadays most people use the american version.

I think this is covered by an existing issue: Localization of Mathematics · Issue #3238 · typst/typst · GitHub