How to translate?
This topic contains 17 replies, has 6 voices, and was last updated by Paolo 10 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: languages, Translate, translation
-
AuthorPosts
-
June 1, 2014 at 7:38 am #3376
Just wanted to know – if I want to translate language files to my language – do I need to modify .po and .mo files from geodirectory-languages directory?
I tried but my new translations are not showing up and still shows in englishmy wordpress instalation is in Latvian language – not in english. does it matter?
Thank you!
June 1, 2014 at 1:35 pm #3380Hey There!
Please see: https://wpgeodirectory.com/docs/translate-core/
and https://wpgeodirectory.com/docs/translating-addons/
Please let me know!
Thanks
June 2, 2014 at 6:09 pm #3434Can anyone tell me – how to make work translated .po and .mo files? Please!
It looks like support is not answering this question.
Maybe someone from users can help me?Thank you!
June 2, 2014 at 11:24 pm #3472Dear Chintia!
Try this:
- Go to pluginsgeodirectorygeodirectory-languages folder.
- Open the geodirectory-en_US.po file with POedit.
- In POedit go to Files > Save As..
- Save the file as: geodirectory-xx_XX.po <- Replace the xx_XX with your own language’s shortcode!
- Now, you can translate the texts inside the file with POedit. After you done, save the file.
June 2, 2014 at 11:52 pm #3473remember to upload the new language files (both po and mo) in the same plugin folder where you downloaded the geodirectory-en_US.po and to change in wp-config.php
define (‘WPLANG’, ”);
to
define (‘WPLANG’, ‘xx_XX’); <- Replace the xx_XX with your own language’s shortcode!
June 3, 2014 at 8:35 am #3483Yes, now everything works fine!
The problem was in wp-config.php file.Thank you for your help!
June 3, 2014 at 5:42 pm #3516Glad you solved!
ThxJune 10, 2014 at 7:07 am #3884Hello,
I have the same problem as Chintia. I downloaded in.., I did the translation and when I replace the file on my server nothing happens …
help!
June 10, 2014 at 5:48 pm #3919Hi,
this is the list of steps to follow to translate the plugin:- Go to pluginsgeodirectorygeodirectory-languages folder.
- Open the geodirectory-en_US.po file with POedit.
- In POedit go to Files > Save As.. >> Save the file as: geodirectory-xx_XX.po <- Replace the xx_XX with your own language’s shortcode!
- Translate the texts inside the file with POedit. After you done, save the file.
- It will create a geodirectory-xx_XX.po and geodirectory-xx_XX.mo files, upload them BOTH on pluginsgeodirectorygeodirectory-languages
- Edit your wp-config.php file and set define (‘WPLANG’, ‘xx_XX’); <- Replace the xx_XX with your own language’s shortcode!
Have you missed anything?
June 10, 2014 at 7:40 pm #3929Hello Paolo,
I think I follow your roadmap.
But still nothing changes …
I put you a screen to see if the name of my files is good.
Thank you for your support
June 10, 2014 at 8:18 pm #3942that looks correct, even though the mo file should be a bit heavier if the translation was made…
Did you change in your wp-config-php file:
define (‘WPLANG’, ‘’);
to
define (‘WPLANG’, ‘fr_FR’);
?
June 11, 2014 at 10:36 am #3975So then I think well done mod on wp-config … but the translation still does not appear …
June 11, 2014 at 11:20 am #3983I take back everything I said.
In fact I was using poedit not translate.
And now it works fine.
June 11, 2014 at 7:00 pm #4014glad you solved!
June 28, 2014 at 6:40 pm #6636This reply has been marked as private. -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket