blob: d9404bc162572a93b9f8d45b4b7f887fab089a89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
%D \module
%D [ file=mult-def,
%D version=2008.10.22,
%D title=\CONTEXT\ Multilingual Macros,
%D subtitle=Definitions,
%D author=Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.
\unprotect
\installcorenamespace{multilingual}
\setvalue{\??multilingual czech}{cs}
\setvalue{\??multilingual german}{de}
\setvalue{\??multilingual english}{en}
\setvalue{\??multilingual french}{fr}
\setvalue{\??multilingual italian}{it}
\setvalue{\??multilingual dutch}{nl}
\setvalue{\??multilingual persian}{pe}
\setvalue{\??multilingual romanian}{ro}
% \def\userinterfacetag{\ifcsname\??multilingual\currentinterface\endcsname\csname\??multilingual\currentinterface\endcsname\else en\fi}
% \def\userresponsestag{\ifcsname\??multilingual\currentresponses\endcsname\csname\??multilingual\currentresponses\endcsname\else en\fi}
\def\userinterfacetag{\ifcsname\??multilingual\currentinterface\endcsname\lastnamedcs\else en\fi}
\def\userresponsestag{\ifcsname\??multilingual\currentresponses\endcsname\lastnamedcs\else en\fi}
% \input mult-\userinterfacetag \relax
% \input mult-m\userresponsestag \relax
\clf_setuserinterface{\userinterfacetag}{\userresponsestag}
% some left-overs
\def\c!HL {HL}
\def\c!VL {VL}
\def\c!NL {NL}
% stop todo
\protect \endinput
|