Translating fields in node.tpl.php file with drupal 7
OK, I found out myself how to do this:


Translate field labels and values in "Configuration > Regional and language > Translate > Import". You should import the values as 'User Interface', not as 'Fields'. Do not specify a URL, only msgstr and msgid.
Now, you need to add your t() function in node.tpl.php for the translation to be effective, like so:


In the node.tpl.php file, to translate field label write something like this:
$content['field_my_field']['#title'] = t($content['field_my_field']['#title']);
To translate field's value, use: $content['field_my_field']["#items"][0]['value'] = t($content['field_my_field']["#items"][0]['value']);



You can now render your field:

print render($content['field_my_field']);