Some shortcut links not translated

Created on 16 January 2011, about 14 years ago
Updated 10 September 2024, 7 months ago

Problem/Motivation

I have installed a second language after installation and set that language as default. I now see that one of the two shortcut links is translated but the other one isn't. I can't find faults in the code for now and haven't had time for debug. See screenshot as well.
I also checked, and the string is translated for this language (i checked the po file and the translate interface config page)
Reproduce:
Install drupal, add second language (dutch) and set second language as default.

Steps to reproduce

Proposed resolution

TBA

Remaining tasks

Patch, with test
Add before/after images available from the issue summary

User interface changes

TBA

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: works as designed

Version

11.0 🔥

Component
Shortcut 

Last updated 17 days ago

Created by

🇧🇪Belgium daften

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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

    I tested this on Drupal 10.1.x, standard install with Italian as a second language. The shortcut links were not translated or translatable from the UI. It does seem that that ability should be added. In fact one of the shortcuts is now 'Add content' which is already translated.

  • Status changed to Needs work 7 months ago
  • Status changed to Closed: works as designed 7 months ago
  • 🇮🇳India samit.310@gmail.com

    Hello,

    This ticket is not relevant for Drupal 11, As in Drupal 11 the shortcut is an entity and it marked translatable = TRUE. So it doesn't require any code changes.

    We can easily add the translatable string of shortcut's entity name field.

    Adding Screenshot for the reference.

    • Content-language-and-translation-Drush-Site-Install.png
    • Add-shortcut-entity-translation.png

    @quietone , We can open this ticket if required for Drupal 7. Meanwhile i am closing it.

    Thanks
    Samit K.

Production build 0.71.5 2024