# [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Wed May 11 18:09:44 CEST 2022

```Pablo Rodriguez via ntg-context schrieb am 11.05.2022 um 17:57:
> AfaIk, there is not "--language" option from the command line. (This
> also makes sense to me.)

\doifdocumentargument {language}
{\mainlanguage[\getdocumentargument{language}]}

\starttext
\currentmainlanguage
\stoptext

Wolfgang

```