M: removed default values of "template.get_lookup_directories"
M: removed trailing whitespaces
A: usage of i18n module