added mongodb ODM support for locales