Rationalize i18n code