Modified Java code for 'Set default i18n when create Parser'