27 May
2011
27 May
'11
10: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