Elgg  Version 2.3
language.php
Go to the documentation of this file.
1 <?php
10 $item = $vars['item'];
11 /* @var ElggUser $item */
12 
13 if (!$item->language) {
14  return;
15 }
16 
17 echo elgg_echo($item->language);
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
$vars['entity']
$item
Render a user&#39;s language.
Definition: language.php:10
elgg echo
Translates a string.
Definition: languages.js:48