Skip to content

Any translation path will be accepted by the NgxI18nModule #183

@WHeirstrate

Description

@WHeirstrate

The following config will allow any language to be included in the url, not only the ones in the availableLanguages array.

/// "@studiohyperdrive/ngx-i18n": "18.0.0"

NgxI18nModule.forRoot(
	{
		defaultLanguage: 'nl',
		availableLanguages: ['nl', 'fr', 'en'],
		defaultAssetPaths: ['./assets/i18n/shared/i18n/']
	},
	MyTranslationLoader
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingngx-i18n@studiohyperdrive/ngx-i18n

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions