How can synonyms be defined to allow loading babel with, e.g., \usepackage[nl-NL,en-GB]{babel}
rather than \usepackage[dutch,english]{babel}
?
1 Answer
Just create a proxy file. For example, for Dutch the file would be nl-NL.ldf
and its contents
\def\CurrentOption{dutch}
\input{dutch.ldf}
For en-GB.ldf
it would be:
\def\CurrentOption{british}
\input{english.ldf}
But the language names, as set in \selectlanguage
and the like, are still dutch
and british
, respectively.
-
-
-
I removed my objection and edited the answer to make it complete and explicit. Commented Jun 4, 2015 at 17:31
;)