Is there any way to make the language choice required for taxonomy term.

I'm pretty sure there is a way to perform this.

Otherwise, how can I at least set a default language choice for my taxonomy. By exemple, I would like to make English as default language. That's mean when the user will create a term the first time, the language choice will be english.

Thanks a lot

  • What modules are you using for the language choice?
    – SDMulroy
    Commented Jul 1, 2014 at 15:06

1 Answer 1


Write a custom module and use the following code

function MYMODULE_form_alter(&$form, &$form_state, $form_id){
     $form['#after_build'][] = 'MYMODULE_after_build';

function MYMODULE_after_build($form, &$form_state) {
   return $form;


NOTE: In your custom_module.info file use this dependencies[] = i18n_taxonomy, so that your module can only be enabled if internationalization is enabled

  • Thanks a lot wolverine :) please see my other question if you can :) Commented Jul 1, 2014 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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