Skip to main content

I18nService

I18nService

Signature
  • Implements: OnModuleInit

addTranslationFile

method(langKey: string, filePath: string) => void

Add a I18n translation by json file

addTranslation

method(langKey: string, resources: VendureTranslationResources | any) => void

Add a I18n translation (key-value) resource

VendureTranslationResources

I18n resources used for translations

Signature

error

propertyany

errorResult

propertyany

message

propertyany
Was this chapter helpful?
Report Issue
Edited Apr 20, 2026ยทEdit this page