1

I'm using the REST Api to get my Drupal content into an App. This App has to be translated to at least 8 different languages, so i'm using crowdin as a translation service. I wrote a small module that automatically sends the title and subtitle of a node to crowdin for translation and i'm working on sending it back, when my file was translated.

Now to the problem: How can i patch a node to add a title for a different language than the default one? Or do i have to post it again? When translating it in drupal directly i get two nodes with the same id and different langcodes.

But how do i do it via rest?

Creating a node is no problem, patching a node is also no problem but i don't know how to patch it for a different language than the default one.

Can anyone help me out?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.