Basic support for localization (related to issue #12)