Trouble translating

This topic contains 14 replies, has 2 voices, and was last updated by  Y A 9 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #44059

    Y A
    Expired Member
    Post count: 156

    Hi guys,
    I’ve been having lots of trouble translating my site into a multilingual platform 🙁

    Could you please take a look ?
    I’ve tried “Translate by WPML” and “Translate using .mo files”

    For example, please take a look at the multilocations addon (with the “Change location”) link in the navigation bar.
    I have also added the following file/wp-content/languages/geodirlocation/geodirlocation-fr_FR.mo

    (see below for website info)

    #44061

    Y A
    Expired Member
    Post count: 156
    This reply has been marked as private.
    #44073

    Simone
    Expired Member
    Post count: 3515

    Hello, I’ve made some tests… and If I change the default language to Francaise, the .po works.. so the path and the file is correct. If I revert back to english as default, the geodirlocation .po isn’t loading the french file..does it happens only with the geodirlocation or there are some other addons not responding? I see, for example, the core file is ok with the translation (both en/fr)

    #44074

    Y A
    Expired Member
    Post count: 156

    Thanks for giving it a try !
    None of the addons work. However, as you noted, the core seems to work.

    #44075

    Simone
    Expired Member
    Post count: 3515

    I found what the issue is..
    If you go here /wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Ftheme-localization.php you will see the text domain value, it was geodirectory (which is the one from the core), if I change it to geodirlocation it will work for the geodirlocation addon (and so not for the core file)..so it might be a WPML limitation with only one text domain per time.
    I must admit Im not that handy with WPML so maybe there is some other settings allowing that to work properly

    #44076

    Simone
    Expired Member
    Post count: 3515

    can you test it now please? I have set geodir* as textdomain

    #44077

    Y A
    Expired Member
    Post count: 156

    What’s weird is that the FR version of geodirlocation appears on both EN and FR websites..

    #44079

    Simone
    Expired Member
    Post count: 3515

    that’s odd, it is happening only o the geodirlocation addon…..is there any cache plugin enabled? I have reverted back the text domain

    #44080

    Y A
    Expired Member
    Post count: 156

    GD booster is installed but not activated.

    When I delete the FR .mo, it goes back to English (on EN website). When I upload it again, the FR version appears on the EN website

    #44083

    Y A
    Expired Member
    Post count: 156

    I’ve added a Claim Listings translation (for FR and modified EN fields), and it sees to translate everything to French, ignoring the EN .mo file.
    Could it be that you forgot to revert the default language from FR to EN ?

    #44085

    Simone
    Expired Member
    Post count: 3515

    I’ve now set WPML to be using its system and loading the po from wp-content/languages (which seems the most logical way) but the geodirlocation is always the same, keeps on being the same for both en and fr.. and yes, english is default

    #44087

    Y A
    Expired Member
    Post count: 156

    What if I tried merging all .mo files for all addons into a single geodirectory-fr_FR.po
    Do you think it could work?
    (I’m asking before I get started in case it will just turn out to be useless work)

    #44088

    Simone
    Expired Member
    Post count: 3515

    no because each addon is pointing to their proper textdomain..still trying to find the right settings but with no luck (now the geodirlocation is only english)

    #44090

    Y A
    Expired Member
    Post count: 156

    Ok, note, however, that the system is correctly fetching my new English translations in geodirclaim/geodirclaim-en_US.mo

    Can GD staff try something else or should I try WPML support?

    #44157

    Y A
    Expired Member
    Post count: 156

    This is what I was told to do (and it works).

    1. WPML -> Theme and plugins localization -> Translate by WPML

    2. Select plugin (e.g. GeoDirectory Location Manager) and “Scan for strings”

    3. WPML -> String Translation (addon must be installed)

    4. Manually translate each string into French

    (Note that by doing so, geodirlocation-en_US.mo is still accessed, in case you have changed certain strings in EN)

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