Add new translation to node through REST services

Hi, I am trying to add a new translation to an existing node through the REST services.

I have a website that has content available in multiple languages. Two of those languages are "en" with prefix "en-INT" in the URL and "de" with prefix "de-DE". The content is always available in "en" and then I would like to add translations to the "en" node.

I have tried a PATCH call to /de-DE/node/62 with the following body:

Paragraphs and taxonomy views

Show the link of the node where there is a paragraph with a taxonomy in the taxonomy view itself.

How to fetch REST API json data and add it to existing node type

There is a book service which has all type of books. In our current website, we already have a content type called BOOK_PRODUCT with some required fields, where we used to create books manually. But now we are planning to fetch the BOOKS from the service using REST.

My question is, when we get JSON data from the service, how do I store it in the already available BOOK_PRODUCT format? so that I need not change the front-end logic and when ever new books are added in the server, they are automatically displayed in the front-end website. 

How to correctly manipulate menu items dynamically on each page request in Drupal 8?

I need to change menuitems dynamically on a custom menu created in Drupal.
I need to show, hide, alter title etc, depending on each user and some other different conditions.

I have tried to use:
HOOK_menu_links_discovered_alter(&$links)
HOOK_preprocess_menu(&$variables, $hook)

And they both let me manipulate the meny. But only once when I empty cache. After that it ignores any further changes.
(For me it strange that preprocess_menu doesn't run on every request.)

/admin/content not working after update

I just updated from 8.6.18 to 8.9.2 and everything works fine except for the page where I add new content (or see the list of current content). I ran the update manually because I don't have access to composer - I'm on shared hosting.

You can see a screenshot of what I get when I click on content in the admin bar here; http://stagingclcs.com.au/sites/default/files/2020-08/drupal.jpg (I could figure how to add a new file to drupal.org)

Layout Builder issue after migrating D7 to D8

Hey guys,

I recently migrated my D7 site to D8. In the upgrade, I migrated all my Field_Collection module content to use Paragraphs.

Everything worked perfectly until I decided to try out Layout Builder...

When I activate Layout Builder in a content type that uses paragraphs, I get: 

The website encountered an unexpected error. Please try again later.

in dblog, it says this:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x