summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/translations
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-21 20:57:19 +0000
committerKarl Berry <karl@freefriends.org>2016-04-21 20:57:19 +0000
commit4be03093334314094136535b74404505a26aa50b (patch)
tree0fe7294a0fd0b487772a3465324b4504fc1ab1f4 /Master/texmf-dist/doc/latex/translations
parent8b231a565e5f97a3bd41deded73be7986ab1cb3e (diff)
translations (21apr16)
git-svn-id: svn://tug.org/texlive/trunk@40659 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/translations')
-rw-r--r--Master/texmf-dist/doc/latex/translations/README4
-rw-r--r--Master/texmf-dist/doc/latex/translations/translations_en.pdfbin552265 -> 554471 bytes
-rw-r--r--Master/texmf-dist/doc/latex/translations/translations_en.tex25
3 files changed, 21 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/translations/README b/Master/texmf-dist/doc/latex/translations/README
index 046ab90ef03..bd11fe68be6 100644
--- a/Master/texmf-dist/doc/latex/translations/README
+++ b/Master/texmf-dist/doc/latex/translations/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-the TRANSLATIONS package v1.2e - 2015/11/07
+the TRANSLATIONS package v1.3 - 2016/04/19
internationalization of LaTeX2e packages
--------------------------------------------------------------------------
@@ -7,7 +7,7 @@ Clemens Niederberger
Web: http://www.mychemistry.eu/forums/forum/translations
E-Mail: contact@mychemistry.eu
--------------------------------------------------------------------------
-Copyright 2012-2015 Clemens Niederberger
+Copyright 2012-2016 Clemens Niederberger
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.pdf b/Master/texmf-dist/doc/latex/translations/translations_en.pdf
index e18b6b0702c..8d8c6863079 100644
--- a/Master/texmf-dist/doc/latex/translations/translations_en.pdf
+++ b/Master/texmf-dist/doc/latex/translations/translations_en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.tex b/Master/texmf-dist/doc/latex/translations/translations_en.tex
index 5ce6fa4ddc4..ceff08981a6 100644
--- a/Master/texmf-dist/doc/latex/translations/translations_en.tex
+++ b/Master/texmf-dist/doc/latex/translations/translations_en.tex
@@ -12,7 +12,7 @@
% Web: http://www.mychemistry.eu/forums/forum/translations
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2012-2015 Clemens Niederberger
+% Copyright 2012-2016 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -424,7 +424,7 @@ A typical usage in a package would look as follows:
\DeclareTranslation{French}{mypackage-title}{Beau Titre}
\DeclareTranslation{German}{mypackage-title}{Sch\"{o}ner Titel}
...
- \def\mypackage@title{\GetTranslation{mypackage-title}}
+ \newcommand*\mypackage@title{\GetTranslation{mypackage-title}}
\end{sourcecode}
That is, a package defines some unique key for an expression and at least
@@ -484,11 +484,24 @@ active language with \cs{LoadDictionary} or for a specific language with
\begin{commands}
\command{LoadDictionary}[\marg{name}]
Loads a file named \code{\meta{name}-\meta{lang}.trsl} where \meta{lang}
- corresponds to the lowercase name of the current language as defined with
- \cs{DeclareLanguage}. This file should contain the translations for the
- specified language.
+ corresponds to the lowercase name of the current language or base language
+ as defined with \cs{DeclareLanguage}. This file should contain the
+ translations for the specified language. This means if \meta{lang} is a
+ dialect and a dictionary exists the dictionary is used. If it doesn't
+ exist but there is a dictionary for the base language that one is used.
\command{LoadDictionaryFor}[\marg{lang}\marg{name}]
- Loads a file named \code{\meta{name}-\meta{lang}.trsl}.
+ Loads a file named \code{\meta{name}-\meta{lang}.trsl} where \meta{lang}
+ corresponds to the lowercase name of the current language or base language
+ as defined with \cs{DeclareLanguage}. This file should contain the
+ translations for the specified language. This means if \meta{lang} is a
+ dialect and a dictionary exists the dictionary is used. If it doesn't
+ exist but there is a dictionary for the base language that one is used.
+ \command{LoadDictionaryForDialect}[\marg{lang}\marg{name}]
+ \sinceversion{1.3}Loads a file named \code{\meta{name}-\meta{lang}.trsl}
+ where \meta{lang} corresponds to the lowercase name of the current
+ language as defined with \cs{DeclareLanguage}. This file should contain
+ the translations for the specified language. This command \emph{does not
+ look} for a base language dictionary.
\end{commands}
A package could provide dictionary files for its language dependent settings