improve error handling for i18n load issues