How to Get Custom Field Label Translation I'm using Internationalization module and in my custom entity type, I have my custom field. Since this entity is going to be usable for all enabled languages, I have added translation to my custom field's label.  

In node.tpl.php file in my custom template, I am calling this field values like this:

$field = field_info_instance('node', 'field_custom', 'custom_entity');  


And I render the field's label like this:

echo t($field['label']);


However, even though I've added translation for the label, it remains same string for all languages. I'm surely missing something here, how can I implement this?

Thanks in advance.
You cannot use variables in t() function, it accepts only strings and placeholders with an array. 

The i18n module has Field Translation module shipped with it, be sure you have enabled it as well.

There is also a good information on the following link about getting title fields translated as well.

Drupal 7 – Translate the title field label of content types