Skip to content

Automatically determine locale from DocumentMetadata #803

@d-e-n-n-i-s-t

Description

@d-e-n-n-i-s-t

I think it'd be great if siunitx could read the locale setting of a document automatically, if it's set via \DocumentMetadata{lang=de-DE}, for example. I know \DocumentMetadata user-input is not checked for errors, but couldn't this be done in the package? Exactly like it's being done right now
Babel started doing it like that for a week now (25.8 introduced this)

There are some languages without locales, I don't know how to handle those cases though

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions