When you're about to create a new translation of a node, and you click on one of the 'translate node' links (in the 'translate' tab for the node), when you click that link, it should change the site's language to the language that you're translating in. This means that when you're writing the translation, and when you publish it and view it, you're seeing it in the correct context, with the whole site translated accordingly.

Attached is a simple patch to accomplish this.

CommentFileSizeAuthor
#1 translate.patch1.3 KBTBarregren
translation_link_to_lang.patch781 bytesJaza

Comments

TBarregren’s picture

Version: 5.x-2.1 » 5.x-2.x-dev
StatusFileSize
new1.3 KB

I have added the same change to the links on 'admin/content/translation'. See the enclosed patch which is rolled against the December 5, 2007, version of 5.x-2.x-dev.

TBarregren’s picture

I have added the patch to the #227550: Patch bundle.

bforchhammer’s picture

parts of this patch seem to have found its way into the current 5.x-2.x-dev.. (2nd replacement in the patch file)

jose reyero’s picture

Status: Needs review » Fixed

This looks good and seems to work. However I think it needed some check for the "Interface language depends on content" option.

So I've committed the patch in #1 with that small addition.

Thank you.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.