API Add CurrentLocale to global templates
closes #84