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:
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.