fix typo
removed dependency on a global 'locale' DIC parameter