This forum is for questions about translating the Drupal user interface. See also the Translations group.

Resolving routes into their aliases stored in content

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...

We can translations "Title , Description" in path "/forum"? Drupal 8

I can not translations "Title , Description" in path "/forum"?

Schema Compare -- l10n_status: not in database

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

Translated fields not showing up in the CMS/front end

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?

Twig Translation String without Enabling Interface Translation

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?

Pages

Subscribe with RSS Subscribe to RSS - Translations