diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-11 11:56:54 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-11 22:22:31 -0700 |
commit | 74212eb1b0e1757fc0ac3e5d45b0ee18bac491e5 (patch) | |
tree | 522b79da10f8838b0bd2665ddfa741eed0ecbeff /test/media | |
parent | 7892dcd353ff0efd24ed753061b9be8e556b0177 (diff) | |
download | pandoc-74212eb1b0e1757fc0ac3e5d45b0ee18bac491e5.tar.gz |
Added support for translations (localization) (see #3559).
* readDataFile, readDefaultDataFile, getReferenceDocx,
getReferenceODT have been removed from Shared and
moved into Class. They are now defined in terms of
PandocMonad primitives, rather than being primitve
methods of the class.
* toLang has been moved from BCP47 to Class.
* NoTranslation and CouldNotLoudTranslations have
been added to LogMessage.
* New module, Text.Pandoc.Translations, exporting
Term, Translations, readTranslations.
* New functions in Class: translateTerm, setTranslations.
Note that nothing is loaded from data files until
translateTerm is used; setTranslation just sets the
language to be used.
* Added two translation data files in data/translations.
* LaTeX reader: Support `\setmainlanguage` or `\setdefaultlanguage`
(polyglossia) and `\figurename`.
Diffstat (limited to 'test/media')
0 files changed, 0 insertions, 0 deletions