Translation Problem / URL country in english

This topic contains 12 replies, has 3 voices, and was last updated by  Josef Spiel 7 years, 1 month ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #403504

    Josef Spiel
    Expired Member
    Post count: 23

    Hello Team Geodirectory

    I tied a lot to get some translation problems solved. In many areas this has been successful, in some not.

    I do not receive a translation of the country names, although I have changed these in the German .po file. In the input mask of google maps and in the url the English country name is always output.

    There are a few other positions in the listings where the ad is still displayed in English. I did screenshots for that.

    Exsample Sites:
    https://www.travelmondy.com/place/germany/muenchen/eat_reastaurant/chez-fritz-muenchen/

    Thanks for the support

    #403510

    Josef Spiel
    Expired Member
    Post count: 23
    This reply has been marked as private.
    #403563

    Guust
    Moderator
    Post count: 29970

    Your language files are based on older versions, you need to update them to make sure all language strings work. See https://wpgeodirectory.com/docs/updating-your-language-files/

    A lot of the changes can be made in the custom fields too, but if you have a lot of CPTs it may be easier to make them in the language files.

    Please update all your language files and have another go, and then we can check it out if there are any issues left.

    Thanks

    #403801

    Josef Spiel
    Expired Member
    Post count: 23

    Hello Guust,

    I did the changes. Several changes worked, but the main problems are still there. Especially the contry problem. A new problem appeared in the Plugin “Claim Liting”. In the .po I cant find Business Owner anymore to translate it. It already worked before.

    Can you check it again?

    Thanks verry much!

    #403981

    Guust
    Moderator
    Post count: 29970

    You have not translated the Claim Listings and put it in the correct location: https://wpgeodirectory.com/docs/translating-addons/

    I do not understand why it is not working, or even where your country slugs come from. It looks like you changed something in the database itself.

    I’ll get a developer to have a closer look too.

    Thanks

    #403988

    Kiran
    Moderator
    Post count: 7069

    Hi Josef,

    I have updated claim listing po with recent file and now business owner text translation fixed.
    Can you translates the non- translated string in files wp-content/languages/plugins/geodirectory-de_DE.po & wp-content/languages/plugins/geodirclaim-de_DE.po so i can check again which string not working.

    Kiran

    #404002

    Josef Spiel
    Expired Member
    Post count: 23

    Hi Kira and Guust,

    thank you verry much. I translated the strings from geodirectory geodirclaim (wp-content/languages/plugins/geodirclaim-de_DE.po). With geodirectory, there is a problem. I have 2 languages in the english string (german and english – see attached screenshot).

    Within every geodirectory plugin, I have a translation folder (wp-content/plugins/geodir_claim_listing/geodir-claim-languages). Thats were I did the translations and thats where I find the en_US.po to update the string.

    Thanks for your Support. I realy appreciate.

    #404037

    Josef Spiel
    Expired Member
    Post count: 23

    One more Information:
    The country translation seems to work everywere now, except in the URL.

    #404091

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #404123

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    #404154

    Josef Spiel
    Expired Member
    Post count: 23
    This reply has been marked as private.
    #404244

    Kiran
    Moderator
    Post count: 7069

    Hi Josef,

    1. So it would make sense to translate it back to english for the string and than do the translation in the .po file?

    Yes, you can also translate those strings in English via .po file translation.

    2. Country Translations
    I did the same for Morocco. And it worked as well for the URL.
    https://www.travelmondy.com/place/marokko/marrakesch/cat-staedt/marrakesch-marokko-orientalisch/
    I noticed one more thing: The country slug for the URL of the original country is also replaced in the country translation (See attached image). Is that correct?

    Yes, it is correct.
    Country Url: displays current country slug.
    Country After Translation: displays the country after translation (user default language)
    Country Url After Translation: displays the country slug after translation (user default language)

    Country After Translation & Country Url After Translation displays the strings based on current active language (user default language).
    If you change your current language from Edit User > Language > English columns Country After Translation & Country Url After Translation will display Morocco & morocco respectivily.

    Let us know.

    Thanks,
    Kiran

    #404352

    Josef Spiel
    Expired Member
    Post count: 23
    This reply has been marked as private.
Viewing 13 posts - 1 through 13 (of 13 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