You are here

function i18nprofile_locale in Internationalization 6

Implementation of hook_locale().

File

i18nprofile/i18nprofile.module, line 31
Internationalization (i18n) submodule: Profile translation.

Code

function i18nprofile_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'profile' => t('Profile'),
      );
    case 'info':
      $info['profile']['refresh callback'] = 'i18nprofile_locale_refresh';
      $info['profile']['format'] = FALSE;
      return $info;
  }
}