diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-24 21:26:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-24 21:26:31 +0000 |
commit | fe0ddcf4452f6ecaf83694dc95503a8014390a22 (patch) | |
tree | 8ad4c2d1f9d73123f7b8c1948460384f31a280c1 | |
parent | 4ec563d809d7fb0d516388c4a38f08825190ddcc (diff) |
translations (24apr17)
git-svn-id: svn://tug.org/texlive/trunk@44025 c570f23f-e606-0410-a88d-b1316a301751
10 files changed, 46 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/latex/translations/README b/Master/texmf-dist/doc/latex/translations/README index 42101edecc1..ce1b23d1948 100644 --- a/Master/texmf-dist/doc/latex/translations/README +++ b/Master/texmf-dist/doc/latex/translations/README @@ -1,10 +1,10 @@ -------------------------------------------------------------------------- -the TRANSLATIONS package v1.5a - 2017/03/05 +the TRANSLATIONS package v1.5b - 2017/04/24 internationalization of LaTeX2e packages -------------------------------------------------------------------------- Clemens Niederberger -Web: http://www.mychemistry.eu/forums/forum/translations +Web: https://github.com/cgnieder/translations E-Mail: contact@mychemistry.eu -------------------------------------------------------------------------- Copyright 2012-2017 Clemens Niederberger @@ -23,6 +23,7 @@ The Current Maintainer of this work is Clemens Niederberger. -------------------------------------------------------------------------- The translations package consists of the files - translations.sty, translations_en.tex, translations_en.pdf, + translations-basic-dictionary-catalan.trsl, translations-basic-dictionary-english.trsl, translations-basic-dictionary-dutch.trsl, translations-basic-dictionary-french.trsl, diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.pdf b/Master/texmf-dist/doc/latex/translations/translations_en.pdf Binary files differindex c631201e1fa..9303d0783fc 100644 --- a/Master/texmf-dist/doc/latex/translations/translations_en.pdf +++ b/Master/texmf-dist/doc/latex/translations/translations_en.pdf diff --git a/Master/texmf-dist/doc/latex/translations/translations_en.tex b/Master/texmf-dist/doc/latex/translations/translations_en.tex index 37c1ab4a858..d4a4bd7d404 100644 --- a/Master/texmf-dist/doc/latex/translations/translations_en.tex +++ b/Master/texmf-dist/doc/latex/translations/translations_en.tex @@ -1,5 +1,5 @@ % !arara: pdflatex: { shell: on } -% !arara: biber +% arara: biber % arara: pdflatex % arara: pdflatex % -------------------------------------------------------------------------- @@ -9,7 +9,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger @@ -38,7 +38,7 @@ package = {translations} , authors = Clemens Niederberger , email = contact@mychemistry.eu , - url = http://www.mychemistry.eu/forums/forum/translations/ , + url = https://github.com/cgnieder/translations , info = {Internationalization of \LaTeXe\ Packages} , add-cmds = { baselanguage, @@ -230,6 +230,10 @@ What happens if you declare a translation? There are four cases: same as the third case as again the internal macros are the same. \end{enumerate} +\emph{Beware that if the current language is a language using a non-latin + font, a translation is missing for said language, and the fallback + translation needs a Latin script font then \emph{nothing} might be printed.} + \subsection{Available Commands}\label{ssec:commands} Below the commands provided by \translations\ are explained. The symbol \textcolor{expandable}{\expandablesign} means that the command is expandable. @@ -605,12 +609,19 @@ Every dictionary file \emph{must} contain the declaration \end{commands} \subsubsection{\translations' Basic Dictionaries}\label{sec:transl-basic-dict} -\translations\ already provides a basic dictionary for the languages Catalan, -English, Dutch, French, German and Spanish. This dictionary is loaded -automatically if the document language is one of these four. If you'd like to -contribute and add the basic dictionary in your language this is more than -welcome and highly appreciated! The easiest way to do this would be to copy -one of the existing files +\translations\ already provides a basic dictionary for the languages +\begin{itemize} + \item Catalan, + \item English, + \item Dutch, + \item French, + \item German, and + \item Spanish. +\end{itemize} +The corresponding dictionary is loaded automatically if the document language +is one of these languages. If you'd like to contribute and add the basic +dictionary in your language this is more than welcome and highly appreciated! +The easiest way to do this would be to copy one of the existing files \code{translations-basic-dictionary-\meta{lang}.trsl} and modify the file accordingly. You can then send me the file via email and I'll add it to \translations. diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl index 8edf4f0901f..d136677d9ec 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-catalan.trsl @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl index bd2e090059b..a9b8a61b007 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-dutch.trsl @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl index 5e0fc65d00b..a01c359094e 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-english.trsl @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl index 21a91837fa1..d40b0d6ca54 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-french.trsl @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl index 107f19fd460..db4405016c1 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-german.trsl @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger diff --git a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl index f7fe606ba54..ef948814078 100644 --- a/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl +++ b/Master/texmf-dist/tex/latex/translations/translations-basic-dictionary-spanish.trsl @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger diff --git a/Master/texmf-dist/tex/latex/translations/translations.sty b/Master/texmf-dist/tex/latex/translations/translations.sty index 6e25c6c997b..24e394f11c7 100644 --- a/Master/texmf-dist/tex/latex/translations/translations.sty +++ b/Master/texmf-dist/tex/latex/translations/translations.sty @@ -5,7 +5,7 @@ % % -------------------------------------------------------------------------- % Clemens Niederberger -% Web: http://www.mychemistry.eu/forums/forum/translations +% Web: https://github.com/cgnieder/translations % E-Mail: contact@mychemistry.eu % -------------------------------------------------------------------------- % Copyright 2012-2017 Clemens Niederberger @@ -25,8 +25,8 @@ % If you have any ideas, questions, suggestions or bugs to report, please % feel free to contact me. % -------------------------------------------------------------------------- -\newcommand*\@trnslt@date{2017/03/05} -\newcommand*\@trnslt@version{v1.5a} +\newcommand*\@trnslt@date{2017/04/24} +\newcommand*\@trnslt@version{v1.5b} \newcommand*\@trnslt@packageinfo{internationalization of LaTeX2e packages} \ProvidesPackage{translations}[% @@ -943,17 +943,23 @@ \DeclareLanguageAlias {Lettish}{lettish} \DeclareLanguageAlias {Lithuanian}{lithuanian} \DeclareLanguageAlias {Macedonian}{macedonian} -% hopefully someone who knows better than me can comment on these +% hopefully someone who knows better than me can comment on the following +% family: \DeclareLanguageAlias {Malay}{malay} -\DeclareLanguageDialect{indonesian}{malay} -\DeclareLanguageAlias {Indonesian}{indonesian} -\DeclareLanguageAlias {indon}{indonesian} -\DeclareLanguageAlias {bahasa meyalu}{malay} -\DeclareLanguageAlias {Bahasa Meyalu}{bahasa meyalu} -\DeclareLanguageAlias {bahasa}{bahasa meyalu} +\DeclareLanguageAlias {bahasa malaysia}{malay} +\DeclareLanguageAlias {Bahasa Malaysia}{bahasa malaysia} +\DeclareLanguageAlias {bahasa melayu}{bahasa malaysia} +\DeclareLanguageAlias {Bahasa Melayu}{bahasa melayu} +\DeclareLanguageAlias {bahasa}{bahasa melayu} \DeclareLanguageAlias {Bahasa}{bahasa} \DeclareLanguageAlias {bahasai}{bahasa} +\DeclareLanguageAlias {Bahasai}{bahasai} \DeclareLanguageAlias {bahasam}{bahasa} +\DeclareLanguageAlias {Bahasam}{bahasam} +\DeclareLanguageDialect{indonesian}{malay} +\DeclareLanguageAlias {Indonesian}{indonesian} +\DeclareLanguageAlias {indon}{indonesian} +% \DeclareLanguageAlias {Malayalam}{malayalam} \DeclareLanguageAlias {Maldivian}{maldivian} \DeclareLanguageAlias {divehi}{maldivian} @@ -1152,3 +1158,4 @@ - add Dutch dictionary (thanks to kwikwi) - add Catalan dictionary (thanks to kwikwi) 2017/03/05 v1.5a - correct typos in Dutch dictionary +2017/04/24 v1.5b - correct typos in Malaysian language names |