You are here

function _i18ntaxonomy_vocabulary_options in Internationalization 6

Returns list of vocabulary modes.

1 call to _i18ntaxonomy_vocabulary_options()
i18ntaxonomy_form_alter in i18ntaxonomy/i18ntaxonomy.module
Implementation of hook_form_alter().

File

i18ntaxonomy/i18ntaxonomy.module, line 71
i18n taxonomy module

Code

function _i18ntaxonomy_vocabulary_options() {
  return array(
    I18N_TAXONOMY_NONE => t('None. No multilingual options for this vocabulary.'),
    I18N_TAXONOMY_LOCALIZE => t('Localize terms. Terms are common for all languages, but their name and description may be localized.'),
    I18N_TAXONOMY_TRANSLATE => t('Per language terms. Different terms will be allowed for each language and they can be translated.'),
    I18N_TAXONOMY_LANGUAGE => t('Set language to vocabulary. The vocabulary will have a global language and it will only show up for pages in that language.'),
  );
}