function entity_i18n_string

cis7 entity.module entity_i18n_string($name, $default, $langcode = NULL)
cle7 entity.module entity_i18n_string($name, $default, $langcode = NULL)
elmsmedia7 entity.module entity_i18n_string($name, $default, $langcode = NULL)
icor7 entity.module entity_i18n_string($name, $default, $langcode = NULL)
meedjum_blog7 entity.module entity_i18n_string($name, $default, $langcode = NULL)
mooc7 entity.module entity_i18n_string($name, $default, $langcode = NULL)

Helper for using i18n_string().


$name: Textgroup and context glued with ':'.

$default: String in default language. Default language may or may not be English.

$langcode: (optional) The code of a certain language to translate the string into. Defaults to the i18n_string() default, i.e. the current language.

See also


4 calls to entity_i18n_string()
Entity::getTranslation in sites/all/modules/ulmus/entity/includes/
Gets the raw, translated value of a property or field.
field_collection_fieldset_field_formatter_view in sites/all/modules/ulmus/field_collection_fieldset/field_collection_fieldset.module
Implements hook_field_formatter_view().
field_collection_field_formatter_links in sites/all/modules/ulmus/field_collection/field_collection.module
Helper function to add links to a field collection field.
field_collection_field_formatter_view in sites/all/modules/ulmus/field_collection/field_collection.module
Implements hook_field_formatter_view().


sites/all/modules/ulmus/entity/entity.module, line 1324
Module file for the entity API.


function entity_i18n_string($name, $default, $langcode = NULL) {
  return function_exists('i18n_string') ? i18n_string($name, $default, array('langcode' => $langcode)) : $default;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.