Commit Graph

3 Commits

Author SHA1 Message Date
Alexander Grothe
23e54c67a7 Ensure a unicode string is returned 2019-05-16 13:07:40 +02:00
Alexander Grothe
3051e04c53 Add inital i18n translation support
The filter_plugin translate allows to translate strings using yavdr.mo
files from the package yavdr-i18n.

ansible-playbook must be called with an UTF-8 locale (e.g. de_DE.UTF-8), LANG=C or
LANG=POSIX are not allowed.

Usage of the new filter:

"{{ "my string" | translate }}"
2017-12-18 17:55:53 +01:00
Alexander Grothe
767807e3e4 add translation filter 2017-12-18 11:40:33 +01:00