Skip to content

Map locales to custom slugs #20

Closed
Closed
@ivanvermeyen

Description

@ivanvermeyen

Add the ability to configure custom slugs values for locales, in addition to localized domains.

Maybe something in the lines of:

'supported-locales' => ['en', 'nl'],

'domains' => [
    'en' => 'en.domain.test',
    'nl' => 'nl.domain.test',
],

'slugs' => [
    'en' => 'english',
    'nl' => 'dutch',
],

If you don't add a slug for a locale, the locale itself can be used, so it is optional.
If you don't add a domain for a locale, the default app_url be used, so it is optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions