Changed registering localization resource (#105). Also resolved #160.