Hi
I use a default value for a text area field. I translated the default values for each languages.
But when I create a translation for a node, it adds the default value in English in the edit form. (so if I save, it keeps datas in english ...)
Does I miss something ?

Thanx

Comments

jofdesign’s picture

I read somewhere that there exist a "default translated" formatter but I can't find it ...

jose reyero’s picture

Priority: Major » Minor
boby_ui’s picture

+1 I am having the same problem, when adding new translation, it is not loading the default value of the translated field instead loading the english default value.

anyone?

silvi.addweb’s picture

I am having the same problem. I solved this using form alter as following:

if ($form_id == 'YOUR_FORM_ID') {
   $form['YOUR_FIELD'][LANGUAGE_NONE][0]['#default_value'] = t($form['YOUR_FIELD'][LANGUAGE_NONE][0]['#default_value']);
 }

Hope this helps you.

Thanks!