/**
  * Localize $mla_language_option_definitions array
  *
  * Localization must be done at runtime, and these calls cannot be placed
  * in the "public static" array definition itself.
  *
  * @since 2.11
  *
  * @return	void
  */
 public static function mla_localize_language_option_definitions()
 {
     MLA_Polylang::$mla_language_option_definitions = array('media_assistant_table_header' => array('tab' => 'language', 'name' => __('Media/Assistant submenu table', 'media-library-assistant'), 'type' => 'header'), 'language_column' => array('tab' => 'language', 'name' => __('Language Column', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Language column to the Media/Assistant submenu table.', 'media-library-assistant')), 'translations_column' => array('tab' => 'language', 'name' => __('Translations Column', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Translation Status column to the Media/Assistant submenu table.', 'media-library-assistant')), 'quick_translate' => array('tab' => 'language', 'name' => __('Quick Translate', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'unchecked', 'help' => __('Check this option to add a Quick Translate rollover action to the Media/Assistant submenu table.', 'media-library-assistant')), 'bulk_translate' => array('tab' => 'language', 'name' => __('Bulk Translate', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add "Translate" to the "Bulk Actions" control on the Media/Assistant submenu table.', 'media-library-assistant')), 'term_translation_header' => array('tab' => 'language', 'name' => __('Term Management', 'media-library-assistant'), 'type' => 'header'), 'term_assignment' => array('tab' => 'language', 'name' => __('Term Assignment', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to assign language-specific terms when items are updated.'), 'media-library-assistant'), 'term_synchronization' => array('tab' => 'language', 'name' => __('Term Synchronization', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to synchronize common terms among all item translations.'), 'media-library-assistant'));
 }
 /**
  * Localize $mla_language_option_definitions array
  *
  * Localization must be done at runtime, and these calls cannot be placed
  * in the "public static" array definition itself.
  *
  * @since 2.11
  *
  * @return	void
  */
 public static function mla_localize_language_option_definitions()
 {
     global $polylang;
     MLA_Polylang::$mla_language_option_definitions = array('media_assistant_table_header' => array('tab' => 'language', 'name' => __('Media/Assistant submenu table', 'media-library-assistant'), 'type' => 'header'), 'language_column' => array('tab' => 'language', 'name' => __('Language Column', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Language column to the Media/Assistant submenu table.', 'media-library-assistant')), 'translations_column' => array('tab' => 'language', 'name' => __('Translations Column', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Translation Status column to the Media/Assistant submenu table.', 'media-library-assistant')), 'quick_translate' => array('tab' => 'language', 'name' => __('Quick Translate', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Quick Translate rollover action to the Media/Assistant submenu table.', 'media-library-assistant')), 'bulk_translate' => array('tab' => 'language', 'name' => __('Bulk Translate', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add "Translate" to the "Bulk Actions" control on the Media/Assistant submenu table.', 'media-library-assistant')), 'term_translation_header' => array('tab' => 'language', 'name' => __('Term Management', 'media-library-assistant'), 'type' => 'header'), 'term_assignment' => array('tab' => 'language', 'name' => __('Term Assignment', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to assign language-specific terms when items are updated.'), 'media-library-assistant'), 'term_synchronization' => array('tab' => 'language', 'name' => __('Term Synchronization', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to synchronize common terms among all item translations.'), 'media-library-assistant'), 'term_mapping_replication' => array('tab' => 'language', 'name' => __('Term Mapping Replication', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('When mapping IPTC/EXIF metadata to taxonomy terms, make them available in all languages.'), 'media-library-assistant'));
     /*
      * Respect the Polylang Languages/Settings "Activate languages and translations for media" option.
      */
     if (isset($polylang->options['media_support']) && !$polylang->options['media_support']) {
         MLA_Polylang::$mla_language_option_definitions['term_assignment']['std'] = 'unchecked';
         MLA_Polylang::$mla_language_option_definitions['term_synchronization']['std'] = 'unchecked';
         MLA_Polylang::$mla_language_option_definitions['term_mapping_replication']['std'] = 'unchecked';
     }
 }