4

If you have a text field, that you do not want to be translated (i.e. language neutral) as in a field for an email address, how do you set just that one field to be language neutral, while leaving the rest of the fields in the content type multilingual (enabled, with translation under workflow settings)? I've tried toggling the checkboxes under "Content Translation" but I think that's just for the Translation Management modules translation jobs handler, not for the actual field settings itself.

The idea is to not have to enter an email address twice in both, for instance, English and Spanish since the value will be the same in both language. Otherwise you have to enter the value in each language to get it to show up in that language.

3

I don't believe that it's possible to configure the language type of fields and translate per field. Not in Drupal 6 anyways.

This shouldn't be a problem anyways. When you translate a node, drupal makes a copy of the original node, which means the e-mail address will be pre filled with the correct value.

The does require some extra work when editing, but if you really wanted to, you could create some custom code, or maybe setup a rule, to keep that field in sync with the other translated nodes.

  • Thanks for the response. I thought that would be the expected behavior but when I went to translate a node to Language B the e-mail field wasn't being pre-filled with the value from Language A. It looks like this was because the nodes I was testing on were already translated. It seems to work fine when I create a new node and then translate that. What did you mean by "set up a rule" though? Is there a way I could ensure that those fields are always synced? – Jay Mar 9 '11 at 11:55
  • @Jay: The rules module allow you to setup various conditional actions to be run when certain events happen. I don't know if there is support for this senario, but with some work, you could make it happen. – googletorp Mar 9 '11 at 12:04
  • Ah. I haven't started using that module yet. Thanks. – Jay Mar 9 '11 at 12:24
3

Drupal 7 allows per field translations using the Entity Translation module. I haven't used the module as I require full node translations, not just some fields. I think it will fit your use case. Check it out at http://drupal.org/project/entity_translation

  • Have been using entity translation and it does allow this option. However entity translation support isn't as mature as node translation. – Jeremy French Dec 21 '12 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.