When custom menu link translation is enabled in the Admin/Configuration/Regionalandlanguage the settings tab under /translation/dashboard/settings is not accessable at all; the error details are:
InvalidArgumentException: $string ("Custom menu link") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 145 of core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php).
The only way to access the settings: /translation/dashboard/settings is to disable 'Custom menu link' under Admin/Configuration/Regionalandlanguage.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2615878-3.patch | 4.72 KB | penyaskito |
| #3 | 2615878-3.only-tests.patch | 4.03 KB | penyaskito |
Comments
Comment #2
Kubair commentedComment #3
penyaskitoThanks for reporting @Kubair!
Attached a fix for fixing this issue.
Comment #4
penyaskitoComment #7
penyaskitoCommitted and pushed to 8.x-1.x.
Thanks @Kudair for reporting, really appreciated.