make i18n module thread safe