* [core]: fix printf of NULL pointer in i18n function