Problem on facebook sharer in fr_FR

This topic contains 9 replies, has 4 voices, and was last updated by  Paolo 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #334753

    Jonathan Percy
    Expired Member
    Post count: 4

    Hi,

    Happy new year…

    I have some trouble to get a great sharing on facebook. When I put the language on fr_FR the facebook post is displaying correctly the title , the site name. But it does not work for the except. Instead I get “%%extrait%%”.

    So I tried to fix it. I took a look at “geodirectory-fr_FR” and change in the directory %%extrait%% to %%except%%. But it does not work either. I keep on having %%extrait%%” in the facebook post while the others work fine.

    However when I put the setting in the english language, there is no problem. the text from the except is displayed correctly as well as the other text category.

    #335080

    Guust
    Moderator
    Post count: 29970

    You should not translate coded strings like %%excerpt%% [notice the r in excerpt].
    I am not sure if that is the issue, because I don’t completely understand your question.
    Are you using the Social Importer to post to Facebook?

    #335099

    Jonathan Percy
    Expired Member
    Post count: 4

    Hi,

    The downloaded file on https://wpgeodirectory.com/translate/projects had %%excerpt%% translated into %%extrait%% so I changed it to %%excerpt%% but without success.

    I installed supreme theme and on detail page for places I have the facebook share button (see below) . When I click on it in language english (setting -> general -> language -> English) no problem but when I click on it in french language (setting -> general -> language -> French)I get “%%extrait%%” and I don’t understand why.
    however in the .po and .mo i use (attached) there is no trace of %%extrait%%. and for information I put the files into wp-content/languages/plugins like the others .mo

    Thank you for your help.

    #335359

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    can you provide wp-admin and FTP details and i will check things over.

    Thanks,

    Stiofan

    #335631

    Jonathan Percy
    Expired Member
    Post count: 4
    This reply has been marked as private.
    #335843

    Jonathan Percy
    Expired Member
    Post count: 4

    Hi STIOFAN,

    I give you the info with a post “set as private reply” Have you got it ?

    #335988

    Paolo
    Site Admin
    Post count: 31211

    I’m sorry, I think Stiofan missed your reply, I alerted him again and he’ll let you know asap.

    Thanks for your patience,

    #336389

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    It looks like what you did fixed it but facebook had already cached the results so it kept showing, i cleared the cache for one page. If you ever need to clear the facebook cache of a url just go to https://developers.facebook.com/tools/debug/ and the click “Scrape again”

    Thanks,

    Stiofan

    #336682

    Jonathan Percy
    Expired Member
    Post count: 4

    Hi,

    Ok Thank you The problem is now solved. So I don’t know If it’s you who translate the .PO files but you should make change in geodirectory_fr.po file to untranslate the variable %%extrait%% .

    Thank you again.

    #336686

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    a fellow French user translated it. We wouldn’t be capable…

    You can correct it directly here https://wpgeodirectory.com/translate/projects if you want and we will approve the correction.

    Thanks

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount