Skip to content

does not work with Swiss variants #26

Description

@robinschwab

The package is incompatible with variants of Swiss German. This breaks siunitx

\documentclass{article}
\usepackage[english,nswissgerman,german]{babel}
\usepackage{translations}
\DeclareTranslation{English}{to (numerical range)}{to}
\DeclareTranslation{German}{to (numerical range)}{bis}
%\DeclareLanguageAlias{nswissgerman}{swissgerman}  %this is the work around
\begin{document}
\selectlanguage{english}
English: \GetTranslation{to (numerical range)}

\selectlanguage{nswissgerman}
Schweizer Hochdeutsch: \GetTranslation{to (numerical range)}

\selectlanguage{german}
deutsches Deutsch: \GetTranslation{to (numerical range)}
\end{document}

Making it work with babel and nswissgerman is pretty easy however there are other variants in babel such as de-CH-1901 and there is polyglossia so a full fix needs more understanding than I have and probably also more testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions