I would like to know how to change the language of the nodes already created. Somehow I have created them unknowingly a different language. I am wondering how it can be changed after the node has been created.
On the page /admin/content/node/overview I have mix of language statuses (english, russian), but all nodes made on russian.

Comments

brucepearson’s picture

You should be able to just edit the node and select the language and then save the node.

Paintbox’s picture

Same problem here. There is no option (drop-down) or whatever to change the language of a node. Working with D6 with clean installation, the nodes where created before the i18n and related modules where installed.

walktalker’s picture

If all of your post need a language, you may run sql query:
UPDATE node SET language='en'
where en can be change to any language key.

ptomasw’s picture

... it should be basic, but so far I have found nothing helpful in the handbooks.

I want my site to be in English and Swedish

I have tried to do as Bruce recommends.
What happens is that when I have edited/translated, selecting the language makes the text go back to previous version. If I first choose language, in this case Swedish, and make the changes, they appear in English as well as Swedish versions.

According to my simplistic way of thinking
http://www.tomaswikstrom.nu/drupal/node/10
and
http://www.tomaswikstrom.nu/drupal/sv/node/10
are two separate files
So why do the changes I make in one appear in the other - which makes my attempts at translating English versions to Swedish impossible. What's the trick here?

In the ongoing development of my site, this functionality is crucial. So I would be really greatful for some help!

Thanks!
Tomas Wikström

ptomasw’s picture

... as I found very helpful instructions on
http://drupal-translation.com/content/setup-multilingual-site

Thanks, really what I needed!
So far, my translation attempts seem to work - will get back, though, if new problems arise!

Anonymous’s picture

I know this is a recipe for disaster, but I just went directly in the database, changed the field language in the table "node". Thus far I have no problem. Anyone know what could go wrong?

Jaypan’s picture

The only problem with that is that there are other places where language may be set. Aliases set with the path module are one example - you will break all your aliases with that method.

osarrat’s picture

Hi Logrise,

I had the same problem and I just have found a clean solution.
You have to follow at least the 3 first steps of the tutorial of "Setup for a multilingual site" mentionned by ptomasw.
And then, in the page admin/content/type, edit the type of node for which you want to be able to easily adjust the language. You have to enable multilingual support for this type of node.

That way, I have solved my similar problem with "Directory Listing" type of node, for which I didn't have enabled the multilingual support before.

Hope that helps.

jesperholm’s picture

I have just used this method and it works. The only thing is that I'm a little worried about implementing it. Our site is up and running, and has a pretty good ranking with google analytics. I am not sure if all the analytics data will get lost, as I had set everything up as language neutral, and now need to change it all to danish/english with cloning and translations.

Anyone know if it will affect it?

reed.richards’s picture

Go to structures and edit the content type and set it to multi-language. Then edit the node to change the language.

ressa’s picture

@reed.richards
Thanks, that fixed it. I had started out with just English, and switched to another language underway, and some older nodes were stuck in "English". To others: Don't forget to switch multi-language settings back to "deactivated", if users shouldn't be able to set it themselves.

nightlife2008’s picture

Check out the module http://drupal.org/project/languageassign. It adds the action "Set language to X" to your node management screen.

marcoka’s picture

a tip for all people landing here. get views bulk operation, chose modify entity values, set new language and go.

nessunluogo’s picture

Thanks marcoka, this works gread and anyone can create its own "advanced content management" view.

nessunluogo

Pascal.s’s picture

Great idea! I imported 383 produts for a website i needed to set a new language to them. VBO works like a charm! Didn't know about it and i had to check out on Youtube to see how it works. Saved me a couple hours of boring job! Just want to share... may help someone else!