Fixed translation issues in osx.