HomeVendure CoreMoreMoreCommonI18nServiceOn this pageI18nServiceI18nService @vendure/coreSource Signatureclass I18nService implements OnModuleInit { addTranslationFile(langKey: string, filePath: string) => void; addTranslation(langKey: string, resources: VendureTranslationResources | any) => void;} Implements: OnModuleInit addTranslationFilemethod(langKey: string, filePath: string) => voidAdd a I18n translation by json fileaddTranslationmethod(langKey: string, resources: VendureTranslationResources | any) => voidAdd a I18n translation (key-value) resource VendureTranslationResources @vendure/coreSource I18n resources used for translations Signatureinterface VendureTranslationResources { error: any; errorResult: any; message: any;} errorpropertyanyerrorResultpropertyanymessagepropertyanyWas this chapter helpful?It was helpfulIt wasn't helpfulReport IssuePreviousEntityRelationPathsNextIDEdited Apr 20, 2026ยทEdit this page