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-
AuthorPosts
-
June 29, 2015 at 6:42 pm #44059
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)
June 29, 2015 at 6:43 pm #44061This reply has been marked as private.June 29, 2015 at 7:38 pm #44073Hello, 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)
June 29, 2015 at 7:39 pm #44074Thanks for giving it a try !
None of the addons work. However, as you noted, the core seems to work.June 29, 2015 at 7:44 pm #44075I 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 properlyJune 29, 2015 at 7:45 pm #44076can you test it now please? I have set geodir* as textdomain
June 29, 2015 at 7:54 pm #44077What’s weird is that the FR version of geodirlocation appears on both EN and FR websites..
June 29, 2015 at 7:59 pm #44079that’s odd, it is happening only o the geodirlocation addon…..is there any cache plugin enabled? I have reverted back the text domain
June 29, 2015 at 8:01 pm #44080GD 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
June 29, 2015 at 8:19 pm #44083I’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 ?June 29, 2015 at 8:21 pm #44085I’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
June 29, 2015 at 8:27 pm #44087What 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)June 29, 2015 at 8:29 pm #44088no 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)
June 29, 2015 at 8:32 pm #44090Ok, 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?
June 30, 2015 at 12:46 pm #44157This 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)
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket