aboutsummaryrefslogtreecommitdiff
path: root/data/translations
AgeCommit message (Collapse)AuthorFilesLines
2017-08-12Change to yaml for translation files.John MacFarlane3-0/+0
2017-08-11Added de.trans.John MacFarlane1-0/+19
2017-08-11Added support for translations (localization) (see #3559).John MacFarlane2-0/+38
* 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`.