API: i18n for warnings and errors