Skip to content

[REQ] Adapt language configuration options #34

@mhatzl

Description

@mhatzl

At the moment there are two options to specify languages used in a document:

  1. lang ... The default language of the document
  2. multi-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 document
  • render-langs ... List of languages the document should be rendered in

Note: render-langs contains natural languages, while formats 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions