i18n - Translating nodes

OK, so all your basic settings are ...er... set, and you're ready to create a node and translate it. Later on I'll show you how to translate menus and blocks, as well as other text in Drupal and from contributed modules.

  1. Create a node in the usual way, except that now you need to select the Language and the Translation workflow.
  2. In this example, I'll start with an English node. I'll also set the workflow to Source content, seeing as this will be my starting point.
  3. Once you have entered in your desired content, click Submit to save the node.
  4. Click the Translation tab and you will see a list of the other activated languages available to you.
  5. Next to each language, there are two options: create translation and select node. If you have already created a node that is supposed to be the translation of your current node, use select node. A list of nodes will be shown (in the language you wanted) and you simply check the radio button next to the correct node.
  6. In this case, we don't have a translated node yet, so we click create translation.
  7. You will see that the content from the English node is preloaded, allowing you to see the text you need to translate. The Language is already selected for you, and the Translation workflow is automatically set to Translation in progress. Once you have finished the translation of the text, you can set this to Translated content.
  8. If you want to give your page a path name (instead of using e.g. node/45), then enter it now in the URL path settings. It is recommended to use a path name in the same language as the node. Do not include any language prefix, just the URL name e.g. nouvelles, and not fr/nouvelles. Note: do not use any foreign characters e.g. accented characters, in the URL, as this can cause problems for Drupal. Only use regular latin letters a-z, A-Z, numbers 0-9, hyphens or underscores.
  9. Submit the node to save it.

Well done, you just translated your first node!

 

Posted in:

Thanks...Really its very

Thanks...Really its very helpful.... Also can you post how to work with the menus for the pages created...

Path is used

First, Thank you for a very detailed tutorial. But i'm having a problem, when i create the translation node, and i put the same path (with the original node), error message appears "Path is already used". Any idea why? Thanks again.

The error message says it all

You cannot have the same path for two separate pages - Drupal wouldn't know which one to pick. The trick is to add the language prefix to the path. So if you had "about" as your path, then the translated node would have something like "fr/about".

Personally, I prefer to use a path that is in the translated language e.g. "a-propos" for the french node of an "about" page.

Thank you

Very detailed explation...it was very helpful...thank you very much! Now if you can email me the instruciton on how to translate the menus that would be awesome! :D

Thanks again!

magnanimous-junior