Implemented localization support. Closes #19