Allow configuration option to include admin pages in negotiation

Created on 8 November 2024, 13 days ago

Problem/Motivation

The language-country-url negotiation method excludes admin pages from outbound URL processing. This effectively makes it impossible to make use of country information on admin interfaces.

Proposed resolution

Add configuration, probably to the Language-country fallbacks form to enable/disable support on admin pages.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom jamsilver West Midlands, UK

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

Merge Requests

Comments & Activities

  • Issue created by @jamsilver
  • 🇬🇧United Kingdom jamsilver West Midlands, UK
  • Pipeline finished with Success
    11 days ago
    Total: 155s
    #335099
  • 🇩🇪Germany simonbaese Berlin

    Hello James, thanks for the proposed changes. I was holding back on this because I haven't looked into the effects to the dynamic page cache. The concern is that we produce significantly more cache variations because of the country prefix. Do you have thoughts on that?

  • 🇬🇧United Kingdom jamsilver West Midlands, UK

    Hi Simon. A random assortment of thoughts:

    My overall feeling is LCN is a fairly low-level module and working with the Dynamic Page Cache typically requires advanced tuning of configuration, customisations etc. It's an advanced use case and it's not clear to me what more LCN could do to support it.

    Could add something to the Project Page/README about it though.

Production build 0.71.5 2024