I am trying to save time by adding custom labels directly in the CustomLabels.labels file using the Force.com IDE. Say I have a label like this:
<labels>
<fullName>Comment</fullName>
<language>en_US</language>
<protected>false</protected>
<shortDescription>Comment</shortDescription>
<value>Comment or Question</value>
</labels>
And I add a translation like this:
<labels>
<fullName>Comment</fullName>
<language>fr</language>
<protected>false</protected>
<shortDescription>Comment</shortDescription>
<value>Commenter</value>
</labels>
When I try to save the file, I get an error:
Duplicate name 'Comment' specified
I want to target the translation in my VisualForce page by
{!$Label.Comment}
How can I add a French translation via the IDE?