By Philippe on Wednesday, 18 August 2021
Posted in Technical Issues
Replies 10
Likes 0
Views 717
Votes 0
Hello,

How can I translate the reactions ?
Because the words are written in English.

(blush) (kiss) (nerd) (tongue)

Thank you,
Philippe
Hi Philippe,

You can change the name of the emoticons from here: ../administrator/index.php?option=com_easysocial&view=emoticons
·
Wednesday, 18 August 2021 11:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Raymond

It works. But when I change the Keyword to French, the old publications no longer display the smiley.
It displays : (happy)

Is there a solution to translate the keywords of the smileys, while continuing to display the previous keywords ?

Philippe
·
Wednesday, 18 August 2021 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Doesnt work with language constants translations?
·
Wednesday, 18 August 2021 16:02
·
0 Likes
·
0 Votes
·
0 Comments
·
There is no way to use language constants on the emoticons. Unfortunately changing the keyword will not affect the existing ones because those content are already stored in the database for example, : (happy). There is no way around this.
·
Wednesday, 18 August 2021 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok Raymond.

Wouldn't it be easier for users to never see the keyword used, but rather the emoticon ?
Concretely they would see the emoticon displayed in the comment form, even before it is sent.

Like on Facebook.


Philippe
·
Thursday, 19 August 2021 03:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Philippe,

The emoticon selector do not work the same way as Facebook's. Changing it could very well involve revamping the whole emoticon system on EasySocial. Hiding the keywords also mean we need to add emoticon buttons at other places. Do create a feature request for this.
·
Thursday, 19 August 2021 10:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok I see.

Here is my feature request :
https://stackideas.com/voices/easysocial/item/750-display-emoticons-directly-in-forms-like

In the meantime, I would like to translate the keywords manually in the SQL database.

In the back-end, I modified the happy emoticons, renaming the keyword to "heureux".

Then in phpMyAdmin, I modified a comment in the social_comments table.
I replaced (angel) by (heureux)

However, on the front-end it doesn't work. It is displayed:
: (angel)

Same thing with the emoticons of the _social_stream table

Do you know why it doesn't work ?

Thank you,
Philippe
·
Thursday, 19 August 2021 20:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Philippe,

You also have to take a look at the #__social_tags table. Values in the length and titles column have to be changed. For length, you have to add the length difference between previous and current key(heureux(7)-angel(5)=+2). With that said, the safest way is editing the comments from the front-end, remove the existing key and add the new one.
·
Thursday, 19 August 2021 20:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes indeed, it would be too complex to manually modify the database.

But why not use the Unicode Characters directly (native characters) ?
Like this emoticons listed here :
https://getemoji.com

Thank you Raymond
·
Thursday, 19 August 2021 21:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Not sure why. Perhaps because the current one allows site admin to customize from the back-end. Feel free to add any ideas that you have about this into your feature request ticket.
·
Friday, 20 August 2021 10:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post