Translate «The term '@term' will be added.»

Created on 22 August 2017, over 7 years ago
Updated 7 May 2024, 8 months ago

Follow-up to #2544544: Translate «The term '@term' will be added.»

«The term '@term' will be added.» — It is displayed regardless of the language. We need to do a line with the possibility of translation into other languages.

For the 8.x branch, many of the message strings are already translated, but there are still a few which aren't, both in .js and .php files.

Grepping for 'message' should locate all of them.

Refer to #8 for the D7 issue for how to translate message in .js files, if needed.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

User interface

Created by

🇺🇸United States LNakamura

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.

  • 🇺🇦Ukraine sickness29

    This is working on 2.0.x-dev without any patches.
    The strings are configured on form display, so you can simply create config for specific language and specify translated values for not_found_message and no_empty_message.

    For example, you have Ukrainian as second language on site and want to translate this values for field_tags on article default form display, then you need to put new file core.entity_form_display.node.article.default.yml into [your_config_sync_folder]/language/uk/
    wtih something like that:

    content:
      field_tags:
        settings:
          not_found_message: 'Новий термін ''@term'' буде додано'
          no_empty_message: 'Немає результатів. Будь ласка введіть початок.'
    

    After config import your strings will be translated when page displayed in Ukrainian.

  • 🇺🇦Ukraine sickness29

    Hi @rajab-natshah
    this can be simply "Closed (works as designed)" as it is possible to translate all those texts through config translation

  • Status changed to Closed: works as designed 8 months ago
Production build 0.71.5 2024