Add localization. closes #1