On my multilingual site, I have a content type that is going to be user created. I want to keep it language neutral ('und').
But there already are a couple thousand nodes of that content type and they have English set as their language.
To make them language neutral, I want to write one time update function (hook_update_N) to change the language of the nodes and all their fields from 'en' to 'und'.
I am doing this by making changes directly to database (using db_update) to the language column of node
& related field tables. But I am afraid that I may miss something. Can I do this some other way to not miss anything.
I read somewhere that I can user hook_node_presave
& node_save
to do this but I am not sure how.
Also, how can I make any future nodes' language to be set default as 'und'?