Duplicate country code when using domain access and country path with Language

Created on 22 August 2022, over 2 years ago
Updated 26 August 2024, 3 months ago

Duplicate country code when using Language translation with domain access and country path. I am trying to use domain access along with country path to have a domain record eg: example.com/gb , example.com/au

1.Enable the Domain access and country path module which provide the url pattern (example.com/au)
2.Add two domain records for "gb" and "au"

3.Enable the language translation modules (content_translation, language)
4.In language detection and selection I have enabled the "Country Path Language Handler URL" in Interface text language detection.
5.In languages I am adding custom languages with code "gb" and "au".

6.Create a content with country domain as gb.
7.I am translating this content to gb and au.
8.When i am trying to view this content from "gb" domain the url pattern goes in the format of "
example.com/gb/gb" and similarly "au" "example.com/au/au"

9.In the translation tab I am trying to edit the au translated version of the content from gb domain and viceversa.
Example: "/gb/au/node/node_id/edit" - It is redirecting me to gb translation of the content (/gb/gb/node/node_id/edit).
10.This behavior is also replicating in view page of a content where there are two country code in url and cannot see the translated version from other domain.

๐Ÿ› Bug report
Status

Active

Version

1.5

Component

User interface

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia YogeYoge

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024