Override language prefix per domain

Created on 24 October 2023, 8 months ago

Problem/Motivation

Currently it is not possible to override the language prefix per domain.

For example on domain X we want Dutch to be /nl, on domain Y we want it to be /nl-nl, and on domain Z we want it to be /.

Proposed resolution

Read the custom suffixes from domain.language.{domain}.language.negotiation.

For example:

domain X

languages:
  nl-nl: /nl

domain Y

languages:
  nl-nl: /nl/nl

domain Z

languages:
  nl-nl: ''
✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Tom_VDB

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024