use translations when not in debug mode
Merge pull request #520 from maskit/i18n

use translations when not in debug mode