Made __locale_getter__ a class attribute