Configuration translation updating locale strings after the source string has changed

Created on 28 October 2015, about 9 years ago
Updated 7 April 2024, 9 months ago

Short intro:

Currently, locale translations and configuration translation strings are kept in sync for not to overwrite each other's changes. Locale is used to translate configuration strings when they have their default value but not anymore when they are updated.

The issue:

When you change a configuration string in the source language, the translations for that string still keep updating the locale translations for that

Steps to reproduce:

1. Standard install with English language (default) and Spanish language. All translation modules enabled. Spanish translations imported, etc..
2. Check there's a translation in locale for the string "Tags" (Spanish: "Etiquetas") or create it otherwise.
3. Configuration translation for the Vocabulary "Tags" should have the same string (they are kept in sync).
3. Edit the original vocabulary, Tags, rename it to something different, like "Colors".
4. Translate the vocabulary name, (Spanish: "Colores").

5. Check the locale Spanish translation for "Tags", in 'User interface translation' is now the new string: "Colores". This is adding a wrong translation for a localization string (The same string may be used for other purposes in the site).

Expected behavior:

Once you edit the original source string in the configuration, the translations for this new string should not update anymore the original locale translation for the old source string. These are different strings now.

Other considerations:

Since po files may be shared accross sites, having wrong translations in them will get also wrong translations for other sites where the same po is imported.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
Language systemΒ  β†’

Last updated about 12 hours ago

  • Maintained by
  • πŸ‡©πŸ‡ͺGermany @sun
Created by

πŸ‡ͺπŸ‡ΈSpain Jose Reyero

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

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.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    There has been no discussion here for 9 years. Is this still relevant or is this outdated?

    Since we need more information to move forward with this issue, I am setting the status to Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

  • Status changed to Closed: outdated 6 days ago
  • πŸ‡¦πŸ‡ΊAustralia griffynh Sydney

    As we haven't had an update since April '24β€”and before that, nothing for nine yearsβ€”I'm going to close this issue.

    Please feel free to reopen if there is any new information.

Production build 0.71.5 2024