summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Translations.hs
Commit message (Collapse)AuthorAge
* Automatic reformating by stylish-haskell.John MacFarlane2017-10-27
|
* Added Listing to Term.John MacFarlane2017-08-12
| | | | So far only added to English.
* Added Encl, Glossary to TermJohn MacFarlane2017-08-12
|
* Change to yaml for translation files.John MacFarlane2017-08-12
|
* Added support for translations (localization) (see #3559).John MacFarlane2017-08-11
* 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`.