By derMatze on
Hi!
I'm putting some data into fields for a node programmatically. When I load the node the field values are normally in something like $node->field_something['und'][0]['value']. But within the same node type and the same same field type, the language code differs, so that I need to set this language code depending on the field, e.g.:
$node->field_something1['und'][0]['value']
$node->field_something2['de'][0]['value']
Both field types are plain text.
Is there any way to set this always to "und" or "de" or whatever?
Comments
No one? :(
No one? :(
Still no answer? :( This is
Still no answer? :(
This is really annoying...
No one with the same problem?
No one with the same problem? I can't believe I'm the only one who faces this issue... :/