Fix paths to templates and locales