# [LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Authoring_Multilingual_Problems.tex

bisitz bisitz at source.lon-capa.org
Thu Apr 24 09:18:16 EDT 2014

bisitz		Thu Apr 24 13:18:16 2014 EDT

Modified files:
Log:
Use sections for sections

--- loncom/html/adm/help/tex/Authoring_Multilingual_Problems.tex:1.3	Thu Apr 24 13:02:26 2014
+++ loncom/html/adm/help/tex/Authoring_Multilingual_Problems.tex	Thu Apr 24 13:18:16 2014
@@ -1,5 +1,5 @@
\label{Authoring_Multilingual_Problems}
-\textbf{How to write problems in different languages?}
+\section*{How to write problems in different languages?}

LON-CAPA offers the optional possibility to create multilingual problems.
You can use different languages for the task text and also for the options and
@@ -7,7 +7,7 @@
fitting language for the texts to show to your students.

-\textbf{Problem Template}
+\subsection*{Problem Template}

A good point to start is to select the template \textbf{Option Response -
Matching (multilingual)} when creating a new problem. You can see there how
@@ -16,7 +16,7 @@
write such problems as follows.

-\textbf{Different languages in a text block}
+\subsection*{Different languages in a text block}

Text to show to students is surrounded by <startouttext /> and <endouttext>.
If you use only one language, just type your text within these tags:
@@ -58,7 +58,7 @@
consistent language for all texts in the problem.

-\textbf{Different languages in options, variables, etc.}
+\subsection*{Different languages in options, variables, etc.}

If you use a script block to create dynamic content and it contains text, the
\textbf{\&languages()} function is used to offer these texts in different
@@ -84,7 +84,7 @@
\end{verbatim}

-\textbf{Interface language vs. problem language}
+\subsection*{Interface language vs. problem language}

LON-CAPA supports various languages for the web interface, e.g. for menu items
and help files. These languages are not necessarily dependent on the languages
@@ -94,7 +94,7 @@
fitting language for texts in a problem is chosen. Details see below.

-\textbf{Language Codes}
+\subsection*{Language Codes}

Some language codes which can be used in the <lang> tag within the <translated>
tag:
@@ -118,14 +118,15 @@
You can use other languages in your problems.

-\textbf{Consistent language with <translated> and \&languages()}
+\subsection*{Consistent language with <translated> and \&languages()}

If you use both, <translated> and \&languages(), in your problem, always make
sure to keep the languages synchronized. Use exactly the same language codes
for the \&languages() call like those used in the <lang> tags within
<translated>.

-\textbf{Testing multilingual problems}
+
+\subsection*{Testing multilingual problems}

You can temporarily change the language for a problem in the \emph{Problem
Testing} screen. Use the Language'' dropdown list to choose the language
@@ -135,7 +136,7 @@
below).

-\textbf{Language hierarchy model in LON-CAPA}
+\subsection*{Language hierarchy model in LON-CAPA}

LON-CAPA uses the best fitting language by considering the following settings
(if available), in the order as follows:
@@ -170,7 +171,7 @@
LON-CAPA shows this problem in German to the student.

-\textbf{Legacy code with <languageblock>}
+\subsection*{Legacy code with <languageblock>}

Some old problems might contain the \textbf{<languageblock>} tag. This tag is
deprecated and it is discouraged to use it. The functionality is different to