Change title for %%in_location%% ?

This topic contains 30 replies, has 4 voices, and was last updated by  Stiofan O’Connor 9 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #62758

    machinmachine
    Expired Member
    Post count: 23

    Hello,
    I would like change the title for %%in_location_single%% and %%in_location%%
    delete “In” and add the french name “à”

    eg. : Restaurant in Paris | MyWebsite
    change for :
    Restaurant à Paris | MyWebsite

    how to do this?
    Thanks

    #62762

    Guust
    Moderator
    Post count: 29970

    Go to GD > Titles and Meta > Post type page meta title
    Use

    %%pt_plural%% à %%location%% %%sep%% %%sitename%%

    instead of

    %%pt_plural%% %%in_location%% %%sep%% %%sitename%%

    If we are talking about a different page, then apply the same principle for the title.

    #62764

    machinmachine
    Expired Member
    Post count: 23

    Yes, I saw but how do youchange “In” of %%in_location%% ?
    In code ??

    #62766

    Guust
    Moderator
    Post count: 29970

    I am not sure you can, I’ll ask the others.

    #62768

    machinmachine
    Expired Member
    Post count: 23

    %%in_location%% => In The Location in the title of the browser
    I would like change “In” by “à”

    #62858

    Paolo
    Site Admin
    Post count: 31211

    Probably via translation file, but I need to ask to Stiofan to confirm.

    Thanks for your patience,

    #62863

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    yes you will find that as a translation.
    https://wpgeodirectory.com/docs/translate-core/

    Thanks,

    Stiofan

    #62875

    Guust
    Moderator
    Post count: 29970

    Right, I see.
    You will find “in ” in the core language file, ID 976.
    Change that to “à “. Note the space behind à.

    #62878

    machinmachine
    Expired Member
    Post count: 23

    Hello, thanks for your replies but I don’t see “In” at ID 976 🙁

    #62880

    Paolo
    Site Admin
    Post count: 31211

    Is that the latest po file? You can merge the newest with your current one to add missing translations added with new versions.

    Let us know.

    Thanks

    #62882

    machinmachine
    Expired Member
    Post count: 23

    It’s Ok 🙂
    Thanks a lot !!

    #62884

    machinmachine
    Expired Member
    Post count: 23

    I have the same problem for the search form
    I must edit a Po file ?

    thanks

    #62902

    Guust
    Moderator
    Post count: 29970

    Yes, that is in the Advanced search language file:
    https://wpgeodirectory.com/docs/translating-addons/

    #62924

    machinmachine
    Expired Member
    Post count: 23

    hello !
    I already translated (city) ID 117 and city ID 118 of geodiradvancesearch-fr_FR.mo

    It’s ok with the location switcher but don’t work with form search 🙁

    look my screenshot

    #62941

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    could you please provide a link and admin credentials?

    Normally if the location switcher says Modifier L’emplacement, there shouldn’t be any location in the near field. It should say “Near” only.

    Let us know if we are missing something,

    Thanks

Viewing 15 posts - 1 through 15 (of 31 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