Integration with Config translation. Translate "pattern".

Created on 14 November 2016, about 8 years ago
Updated 5 August 2024, 3 months ago

I found that currently we can't translate one pathauto rule to various languages.
Need to make propertie "pattern" translatable via module Configuration Translation.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

I18n stuff

Created by

πŸ‡ΊπŸ‡¦Ukraine vtkachenko

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.

  • πŸ‡±πŸ‡ΊLuxembourg B-Prod

    @Berdir I understand your point, however you should take this into account: having a multilingual site with 20 languages, and 30 vocabularies, leads to 600 pattern rules...

    With pattern translations, you only have 1 rule per pattern, so 30 patterns for the vocabularies.

    Moreover, each rule requires a unique ID, which also lead to headaches when it comes to organize this.

    And last point, the patterns page with 600 rules is not a thing that can be managed when looking for updating a specific rule...

    What would be your suggestions for such a case?

  • πŸ‡ΈπŸ‡°Slovakia tomas.teicher

    "...having a multilingual site with 20 languages, and 30 vocabularies, leads to 600 pattern rules...."

    Not necessarilly, one pattern can be applied to multiple languages. There is "Languages" field in pattern edit form. The problem, you described, occurs in specific situation, when pattern contains some static string (not just tokens).

Production build 0.71.5 2024