![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
27 May
2011
27 May
'11
4:41 a.m.
On Fri, May 27 2011, Jeong Dalyoung wrote:
Is it possible to check what is the mainlanguage set in document?
Yes. Example: %\mainlanguage[fr] %\language[fr] \starttext currentlanguage: \doifelse\currentlanguage{fr}{French}{Not French}\par currentmainlanguage: \doifelse\currentmainlanguage{fr}{French}{Not French}\par translate: \translate[fr=Français, en=French] \stoptext -- Peter