Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Is there a way to resolve routes into their aliases stored in content?
For example, is it possible to output something like <a href="/node/100">Hello world</a> stored in a content body into: <a href="/en/content/hello-world">Hello world</a>
I looked around for text format filters but couldn't find one that do this job...
Hello,
I run Drupal 7.54 (Linux-Debian 8) with loads of additional modules installed, default language German. Most of my stuff is also translated into English. When running the Schema Compare report, it reports a number of discrepancies between the definitions in the schema (install.php) and tables in the MySQL drupal database. Among them is module locale, where I get the message mentioned in the Subject, concerning table locales_target. I wonder how I can correct this situation. Thanks in advance for any hints.
H. Stoellinger, Salzburg, Austria
After successfully translating a content type to French, I went about translating its fields. I tested one and its translated form showed up in the CMS/front end.
Next I went about translating 3 more fields, none of which showed up until I cleared the Drupal cache. After translating 3 more fields, they didn't show up so I tried clearing the Drupal cache again, and now NONE of my translated fields are showing up (including the initially successful one). Is there something about this process I'm missing?
Is it possible to provide translation strings to Twig, without the Interface Translation module enabled?
We have Content Translation enabled but do not want to enable Interface translation (we would like the Drupal administration menu system to remain in English).
We have a couple of landing pages that base most of their content on a translated entity however, there are still a few labels and links we would like to translate using {{ 'foo'|t }} in Twig.
Is this possible? And if so - where would the translation stings be stored?