-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQ] Adapt language configuration options #34
Comments
Maybe |
Alternative option names:
|
As mentioned in issue unimarkup/unimarkup-rs#102, all locales will be supported by default. For clarity, |
At the moment there are two options to specify languages used in a document:
lang
... The default language of the documentmulti-langs
... List of other languages the document should be translated to (e.g. used to create columns in .umi files)While the
lang
option is clear,multi-langs
is not so, because there is a difference between possible other languages used in a document, and other languages the document should be rendered in.Therefore, this option should be divided into two options:
used-langs
... List of languages used in the documentrender-langs
... List of languages the document should be rendered inNote:
render-langs
contains natural languages, whileformats
defines output formats the document is rendered to.The
render-langs
option must also not be allowed in the preamble, because this option makes no sense for inserted files.The options
lang
and `used-langs´ should be allowed in the preamble, because they are related to the file content.The text was updated successfully, but these errors were encountered: