foundation-login.loginconfig.localizationresources
Home > @genesislcap/foundation-login > LoginConfig > localizationResources
LoginConfig.localizationResources property
I18n resources.
Signature:
localizationResources?: I18nextConfig['resources'];
Remarks
This property holds the localization resources needed for internationalization of the application. It should follow the structure defined by the I18nextConfig interface, which includes translations grouped by locale and namespace. Each locale can contain multiple namespaces, and each namespace includes key-value pairs for translation strings.
Example
resources: {
en: {
translation: {
key: 'Hello World'
}
},
es: {
translation: {
key: 'Hola Mundo'
}
}
}