You are here

function hook_i18n_string_info in Internationalization 7

List text groups for string translation.

This information will be automatically produced later for hook_locale()

7 functions implement hook_i18n_string_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

i18n_block_i18n_string_info in i18n_block/i18n_block.i18n.inc
Implements hook_i18n_string_info().
i18n_contact_i18n_string_info in i18n_contact/i18n_contact.i18n.inc
Implements hook_i18n_string_info().
i18n_field_i18n_string_info in i18n_field/i18n_field.i18n.inc
Implements hook_i18n_string_info().
i18n_menu_i18n_string_info in i18n_menu/i18n_menu.i18n.inc
Implements hook_i18n_string_info()
i18n_node_i18n_string_info in i18n_node/i18n_node.i18n.inc
Implements hook_i18n_string_info()

... See full list

3 invocations of hook_i18n_string_info()
i18n_string_group_info in i18n_string/i18n_string.module
Get textgroup info, from hook_locale('info')
i18n_string_module_string_list in i18n_string/i18n_string.admin.inc
Get all strings from a module.
i18n_string_refresh_uninstalled_modules in i18n_string/i18n_string.admin.inc
Purge uninstalled modules.

File

i18n_string/i18n_string.api.php, line 26
API documentation file for String translation module.

Code

function hook_i18n_string_info() {
  $groups['menu'] = array(
    'title' => t('Menu'),
    'description' => t('Translatable menu items: title and description.'),
    'format' => FALSE,
    // This group doesn't have strings with format
    'list' => TRUE,
  );
  return $groups;
}