4

I am using the Translation Management Tool module to translate my nodes automatically. What I want is for users to see whether the node they are seeing (in their language) is the translated, or the original one. I managed to make the translation (when node is saved, it is translated) and with rules I can change value of e.g. some integer field, but it changes on both nodes: original and the translated one.

How can I change it only in translated one?

1 Answer 1

1

Instead of setting an integer field, create a text field called original language or source language. Use Rules to store the language code of the source language when the node is created. That way the value of the field is correct regardless of which language the user is viewing the node.

You can then compare the source language of the node with the user's current language and display a message if they do not match.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.