I'm trying to manually update a node and I'm not sure how the language works.
The node is in English, so $node->language = 'en';
However, all my fields data are organized like this in the node:
$node->field_name['und'][0]['value']
I thought 'und'
means "language undefined", so shouldn't it be 'en'
instead?
I'm trying to automate the process so is it safe to assume fields will always use 'und'
in nodes?