craftcms / craftcms/cms

multilanguage site: different tags sharing the same slug cannot be saved

Open
#7,241 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug severity:minor
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Description

In multisite setup, its not possible to save different tags e.g.(Gingerol and Gingérol) because the slug is the same.
There is a plugin called tags, which makes it possible to translate a tag, but when adding the tag in Entry-Editor, always the word for the first language is shown, no matter on what site the user is.

Additional info
  • Craft version: 3.4.30
  • PHP version: 7.4
  • Database driver & version: MySQL

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the multisite case in the Entry-Editor with the Tag Manager plugin, using translated tags such as Gingerol and Gingérol and the MySQL setup described. Compare the saved slug and displayed label on each site; done means tags with the same slug can be saved and the current site's language is shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend, databases, internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.