How to translate GD Listing Right Sidebar
This topic contains 20 replies, has 3 voices, and was last updated by Paolo 9 years, 1 month ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 30, 2016 at 10:54 pm #114398
Hello,
I’ve tried all to translate the menu points of the right sidebar (for example: send enquiry | Send to friend). Tried using WPML, Loco Translate and PoEdit. Uploaded the mo file to several places also. All without any change at the frontend…
I would be able to translate “address” at Geodirectory settings (Fields), but if doing so, the page is not multi-language able.
Other strings like “add listing” are working perfect using WPML…Please let me know how to do, thanks.
Greetings, Chris
January 31, 2016 at 12:06 am #114410When using WPML you need to translate in the language files, rather than in the admin sections.
I guess you are not uploading the MO files to the correct spot, that’s all I can think of.Are you uploading the MO files to the correct spot?
/wp-content/languages/geodirectory/geodirectory-en_US.mo etcJanuary 31, 2016 at 10:06 am #114478Hi Guust,
just tried your location too. Found that in your docs also. Not working 🙁
Should I upload the whole structure at child folder?What I am really wondering is, that only SOME of the strings not working. “Core Files” doing well, only a few wont, like the friend recommender, and also all added fields from post types.
Cheers, Chris
January 31, 2016 at 10:17 am #114483Not sure what you mean with “Should I upload the whole structure at child folder?”
Only the MO files have to be uploaded as per
https://wpgeodirectory.com/docs/translate-core/
and https://wpgeodirectory.com/docs/translating-addons/This is how you translate custom fields: https://wpgeodirectory.com/docs/translating-custom-fields/
We would need your FTP and WP admin details to be able to have a look why things are not working.
January 31, 2016 at 11:01 am #114498This reply has been marked as private.January 31, 2016 at 12:29 pm #114525You did not translate “send enquiry” at ID 1445, you translate the one at 1792.
I’ll get the others to have a look at the custom field translations.Can you also check the FTP, it keeps timing out for me.
January 31, 2016 at 12:37 pm #114526Hi Guust,
absolutely no clue what you are talking about…
FTP is working fine, no problems.Greetings, Chris
January 31, 2016 at 12:52 pm #114552This reply has been marked as private.January 31, 2016 at 1:03 pm #114554This reply has been marked as private.January 31, 2016 at 1:34 pm #114556Same problem with FTP still.
See images for missing translation.
January 31, 2016 at 2:01 pm #114560Guust, WOW…
so – I am really impressed. Working!
Think at first it was the wrong path for the .mo. Something misunderstood by me from the help files. In addition at the new file one missing. Well, you solved it.
Many, many thanks!Now I will have to check out the php download and rescan for the custom fields. WPML dont does it.
Will use poedit to do it. I am not sure how to rescan the PO file or the PHP file…
If you are not using WPML, then once you have used the tool mentioned above you can download the db-language.php file that you will find in your geodirectory folder to your computer and then open the .po file and rescan the project.How will the PO file find the PHP file?
Thanks, Chris
January 31, 2016 at 9:56 pm #114731You need to download all the files of the plugin or theme to your computer, including the new db-translations.php file.
Open up POedit, and select “translate a plugin”
Next screen, select “create a POT file” after choosing the plugin folder.
That will create a POT file.
Now go to edit your existing DE translation, and from Catalogue, choose “update from POT”
Navigate to the POT file you created, and
DONE.February 1, 2016 at 4:39 am #114847Hi Guust,
thank you for explaining, really helpful!
Do you know – does this overwrite existing translations, e.g. especially when it has to be run after adding a new custom field later?Greetings, Chris
February 1, 2016 at 12:59 pm #114992No, it does not, it only adds any new ones.
February 6, 2016 at 7:05 pm #118428Hi Guust,
thank you for your help – worked. Had to upgrade to pro version of Poedit.
Can you please tell me where to find “Filter categories” from the locations search bar?
I didnt find it at the core files and not at the multilocation files.Thanks again, Chris
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket