By Altitudes on Saturday, 02 May 2015
Posted in Technical Issues
Likes 0
Views 809
Votes 0
Hello

In French language, link for other likes when more than 3 users like a stream item (attached image) does not work. If you compare the HTML for English and French:
<a href="javascript:void(0);" data-likes-others="" data-id="1046" data-group="group" data-element="story" data-verb="create">2 others</a>
<a href="javascript:void(0);" data-aime-others="" data-id="1046" data-group="group" data-element="story" data-verb="create">2 autres personnes</a>

you can see that the attribute name data-likes-others is more or less translated in French: data-aime-others

No good...
Hello Altitudes,

I am sorry for the delay of this reply.

It seems like the language string is translated wrongly. I've applied the fix inside your /language/fr-FR/fr-FR.com_easysocial.ini for the following string :
COM_EASYSOCIAL_LIKES_STREAM_USER_AND_OTHERS_LIKE_THIS="<a href="_QQ_"%1$s"_QQ_">%2$s</a>, <a href="_QQ_"%3$s"_QQ_">%4$s</a>, <a href="_QQ_"%5$s"_QQ_">%6$s</a> et <a href="_QQ_"javascript:void(0);"_QQ_" data-aime-others data-id="_QQ_"%7$s"_QQ_" data-group="_QQ_"%8$s"_QQ_" data-element="_QQ_"%9$s"_QQ_" data-verb="_QQ_"%10$s"_QQ_">%11$s autres personnes</a> aiment ça."


and change it accordingly. Hope these help
·
Wednesday, 06 May 2015 10:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

Hm, not really sure if I understand you here. Can you please elaborate more on this please?
·
Saturday, 02 May 2015 03:47
·
0 Likes
·
0 Votes
·
0 Comments
·
When the user's language is English (site displayed in English), everything is fine: clicking on "2 others" opens a popup where all the users liking this stream item are displayed.

When the user's language is French (site displayed in French), when you click on "2 autres personnes" (which is the translation for "2 others"), nothing happens...

The 2 lines of HTML code I put in my messages are respectively the HTML in English and French for this link. For you to compare
It appears that an HTML attribute name was translated, which is very unexpected!
·
Saturday, 02 May 2015 03:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Waoh, I would never have imagined that the issue could be in the language files! Probably someone did a Find and Replace of "likes" by "aime".

I have corrected this in Transifex, thank you.
·
Wednesday, 06 May 2015 13:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Altitudes,

You are most welcome. Thanks for the translation fix
·
Wednesday, 06 May 2015 15:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post