overwrite default options with config
check if i18n exists in config before accessing it