– and you can add your language now! This is the chance for making an important step towards inclusion in the world of scientific publications.
Many of you know and use the package Zero for formatting numbers and physical units. With the upcoming version, Zero will ship a new feature: all of its math output will be made accessible by automating the generation of descriptions for screen readers to read numbers, units, and quantities in a natural way.
This is important because currently, equations in Typst need manual alt descriptions when compiling with accessibility standards like UA-1. Although, in the future, equation descriptions will probably be automatically generated, the package Zero has much more context about how to correctly read a number or unit that it generated and can therefore provide descriptions that are by far more meaningful than any generic ones. This is particularly true for units: Zero can provide the full unit names, such as “meter” instead of just “m”.
For this, the correct language is inferred from the text settings. Currently, we support
- English,
- German,
- French,
- Finnish,
- Spanish, and
- Italian.
You can extend this list by contributing translations for your language! Please follow this guide on how to contribute a new language: zero/docs/language-contribution-guide.md at main · Mc-Zen/zero · GitHub. Also, if you spot an error with the existing languages, please let me know.
Big shoutout to @sesodesa for sparking the idea for this feature and providing the Finnish translations!