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 TicketTagged: translation, url
-
AuthorPosts
-
October 31, 2017 at 5:09 pm #403504
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
October 31, 2017 at 5:12 pm #403510This reply has been marked as private.October 31, 2017 at 10:44 pm #403563Your 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
November 2, 2017 at 2:51 pm #403801Hello 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!
November 3, 2017 at 1:26 pm #403981You 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
November 3, 2017 at 2:08 pm #403988Hi 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
November 3, 2017 at 3:06 pm #404002Hi 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.
November 3, 2017 at 6:33 pm #404037One more Information:
The country translation seems to work everywere now, except in the URL.November 3, 2017 at 10:37 pm #404091This reply has been marked as private.November 4, 2017 at 8:08 am #404123This reply has been marked as private.November 4, 2017 at 4:24 pm #404154This reply has been marked as private.November 6, 2017 at 6:09 am #404244Hi 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,
KiranNovember 6, 2017 at 6:03 pm #404352This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket