Add a note on how to update translation strings for contributed modules

Created on 5 February 2017, almost 8 years ago
Updated 14 August 2024, 4 months ago

Problem/Motivation

I spent two hours figuring out how to update translation strings for contributed modules. I followed these steps:

  • Enabled Interface Translation module
  • Went to admin/config/regional/translate
  • Searched for the strings I wanted to translate using the filter -- no luck
  • Paged through the list of strings -- no luck
  • Found that the list of strings changed in length depending of when Interface Translation module -- a rabbit trail
  • Google search on "drupal 8 t() string translation" -- lots of information but none pointing to admin/reports/translations
  • Read https://www.drupal.org/docs/8/api/translation-api/overview β†’ a few times -- no luck
  • Found a footnote about the only strings available in admin/config/regional/translate are core
  • Found admin/reports/translations -- finally!

I know this is sad -- especially to those working with these functions daily -- but it is true.

Proposed resolution

See #66 for details.
Add a note to the top of admin/config/regional/translate. Something like: String translation for contributed modules can be found at admin/reports/translations. This small change will help the next person using this function for the first time.

Remaining tasks

Review
Commit

User interface changes

Before

After

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
LocaleΒ  β†’

Last updated 4 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States Greg Sims

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

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

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

  • First commit to issue fork.
  • Status changed to Needs review 4 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    Implemented the proposal in in #66 and added screenshots

  • πŸ‡³πŸ‡ΏNew Zealand quietone
  • Hi,
    I've reviewed the MR !9172 on Drupal 11.x.dev

    Testing Steps

    1. Enabled Interface Translation module
    2. Went to admin/config/regional/translate
    3. Verify the note is updated.

    Testing Results
    Translation page help note is updated based on the comment #66.

  • Status changed to Needs work 4 months ago
  • πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

    @smustgrave asked me to look at this as a subsystem maintainer. There is a lot of mention of comment #66 but that is a bot comment? I must be misreading something.

    Also I agree with @alexpott from #39 from 2018, that problem has not been resolved in this issue in the 6 years since that comment :)

    Reading the final text and the issue summary seems that the original problem faced by the user is bot being addressed. From the issue summary.

    I spent two hours figuring out how to update translation strings for contributed modules.

    The new text makes no mention of where and how to update the translated strings.

    Otherwise the MR looks like it itemizes the text already on the page, so that will likely not do harm. But it does not solve the problem stated.

Production build 0.71.5 2024