marked templateFile() as deprecated, use getTemplateFile() instead
try to get the preferred browser language instead setting 'en' as default