Created a LocalizedFormatter class

issue #1818