add a locale implementation