Prevent "i18n" api from crashing when called server side