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

Connect new node with existing translation

Hi everyone.

I'm supporting on a website that is bilingual. For every content in language A we create a translation in language B. I've now had the issue that a colleague has deleted a content piece and replaced it with an updated version of the page, thus severing the connection to the translation of the page.

Is it possible to reconnect this new node with the existing translation?

Thank you,

Judith

Default translated texts in twig file

I developed a twig plugin (to display graphs from a webform).
These plugins contain English texts; And I want the same file to keep translations for several languages by default (for example, Arabic), that is, the end user does not have to translate these texts through the Drupal interface.
Currently using:

404 on untranslated content[solved]

Hello everyone, im having an issue after a drupal 8 was upgrade to 9, almost all works fine, but im having trouble with translation that i will describe below:

The default language of the site is english, it has some untranslated contents that when i try to access the site returns me a 404.

/en/type/this-is-my-content => works fine
/pr-br/type/this-is-my-content => returns 404

There's a way to show up the default language content when the content is not translate?

thanks in advance :)

Redirect untranslated pages to language front page

Hi there,

I have a project running Drupal 9 with several languages and a lot of content pages. It is not possible to publish each translation simultaneously with the publication of the content in the main language.

If some content is accessed in one language and the user switches to another language the english (main language) content is shown but with the language code in the url. 

I would like to implement redirecting to the translations main page if the translation of a content is missing.

For example

"Redirects to external URLs are not allowed by default" when delete node

Hello, in order to have the locale prefix at the beginning of the url instead of the end of the url, i have set in "admin/config/regional/language/detection/url" the part of the url that determines language by domain.
english: en.mysite.localhost
francais: fr.mysite.localhost
But when I try to delete a node: en.mysite.localhost/node/7/delete
I have an issue and the current error: “Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.”
Someone knows how to work around the problem?

Can't translate content from my language to English

I have a live site running with default language English and I have created all my content in Czech, but when i try to add the English translation it always moves me back to czech. I have some english pages already created when site wasn't live, but when i try to edit it, it moves me to czech again. The english content isn't even displayed when i switch the language of the site to english. It's my first time creating website with drupal so I don't have much experience. Can someone please help me?

Pages

Subscribe with RSS Subscribe to RSS - Translations