Skip to content

Commit

Permalink
Update chapters/packages.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Sep 7, 2022
1 parent ab38d66 commit 81e22dc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions chapters/packages.tex
Expand Up @@ -448,6 +448,17 @@ \section{Multilingual Descriptions}\label{multilingual-descriptions}
\end{lstlisting}
\end{nonnormative}

\begin{example}
An entry for translating the description of \lstinline!Modelica.Math.sin! into Swedish could look like this:
\begin{listing}
#: Modelica/Math/package.mo:10126
#, no-c-format
msgctx: "Modelica.Math.sin"
msgid: "Sine"
msgtxt: "Sinus"
\end{listing}
\end{example}

\begin{nonnormative}
To support the translation of these strings a number of free and commercial tools exist in context of GNU gettext.
\end{nonnormative}
Expand Down

0 comments on commit 81e22dc

Please sign in to comment.