Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you view the site in a different language than English, the icon on the first toolbar link misses.
This is caused by the translation of the classname (toolbar-icon-inhoud instead of toolbar-icon-content, in Dutch).
See screenshot, I added the classnames below. For some strange reason, only Content is translated, where the other items work fine.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1.jpg | 78.46 KB | NikitaJain |
#3 | 2150331-3.patch | 767 bytes | rpayanm |
#1 | 2150331-missing-icon-for-content-link.patch | 1.03 KB | BarisW |
toolbar-content-icon.png | 27.47 KB | BarisW |
Comments
Comment #1
BarisW CreditAttribution: BarisW commentedI think I found the bug. The Standard Profile inserts menu links (node/add, admin/content and ), with a
t()
function added.Example:
The link titles go through
t()
later in the process, so we should not use the t() function when adding menu links. The patch removes thet()
wrappers in the standard.profile.Comment #2
jhedstromComment #3
rpayanmComment #5
NikitaJain CreditAttribution: NikitaJain commentedNot able to reproduce the issue.
Steps:
1. Selected Dutch language at the time of installation of Drupal 8 set-up.
2. Icon is appearing for content link toolbar when viewing in 'Dutch' language.
Screenshot attached.
Comment #6
jhedstromThanks for confirming @NikitaJain! This appears to have been fixed elsewhere, closing out.