Translation of content results in the title and menu link title of the original content to be replaced with the new title/menu link title.

This issue was created on the new installation of 8.0.0-Alpha15 in English with an additional language of Spanish. Here is the sequence for problem recreation:

  • "Basic page" content type is set to "Enable translation"
  • Body field of Basic page content type is set "User may translate this field"
  • Create English content containing "English Title" for Title and Menu link title fields. Set Body field to "English Body".
  • Translate English content to Spanish. Set Title and Menu link title fields to "Spanish Title". Set Body to "Spanish Body".

This sequence result in the Title and Menu Link of the English content being set to "Spanish Title".

Comments

Greg Sims’s picture

Issue tags: -+D8MI +language-base +D8MI language-base
Greg Sims’s picture

Issue tags: -D8MI language-base +D8MI, +language-base
Gábor Hojtsy’s picture

Status: Active » Closed (works as designed)

Well, you did not set the title to be translatable in the steps, so yes, it will not be translatable and will be the same across languages. An "(all languages)" hint on the UI shows that as well. This is admittedly too subtle, but please go back and verify it. We have an issue to make it more evident at #2290101: UI telling you a field is shared across languages is way too subtle.

So far this looks like works as designed.

Greg Sims’s picture

Structure->Content Type->Basic Page does not have a Title field. This is how I changed Body to translatable but the same method is not possible with Title. I spent the last 5 minutes looking for the pages that shows what field is translatable in each Content Type -- I'm still looking for it.

Like you said -- "too subtle". I will continue to look for a way to set Title translatable on the Basic page.

Found it in Configuration-> Content Language and translation. Now testing.

Gábor Hojtsy’s picture

Hehe, this is part of the reason we want to remove those checkboxes. Sorry. An overall configurability settings page is available at Regional and language > Content language and translation. You can configure the title field among others there.

Greg Sims’s picture

OK -- Title translation now works.

Still having problems with Menu Link Title -- does it need to be set as translatable as well?

Gábor Hojtsy’s picture

Well, there is no settings for the menu link title and I believe it shows the all languages marker as well, right? It is currently not possible to make that multilingual as part of the node form. (You can translate the menu link title **at the menu link form** where the menu link can be edited itself, not as part of the node ATM). I believe there is an issue to make menu links a field on the node as well, which would make them translatable in-form.

Greg Sims’s picture

I tried to translate a Menu Link but there does not seems to be a way to do this that I can tell. The Menus have a pull down that give them a language but nothing at the menu link level. I am working in the "Main Navigation" menu.

Gábor Hojtsy’s picture

You also need to make the menu item and its title translatable via configuration.

Greg Sims’s picture

OK, I now have the basics working and will shift my focus to building the patch you asked for. Thanks!