Translations overwriting
This topic contains 14 replies, has 3 voices, and was last updated by Vlad Chirila 6 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: translation
-
AuthorPosts
-
May 14, 2018 at 3:27 pm #430497
Hi guys,
new issue coming right up :))
my Romanian GeoDirectory core translation keeps getting overwritten with the old translation file (a previous version of my translation from more than 6 months ago I think). This happened 2 times in the last week ( from last Tuesday, until today). I uploaded my correct translation in wp-content/languages/plugins/
Why is this happening?
Thanks,
VladMay 14, 2018 at 4:03 pm #430507We have heard that this is a feature of Loco Translate.
https://wpgeodirectory.com/docs/known-issues/#loco
Are you using any translation plugins?
May 14, 2018 at 4:07 pm #430509Hi Alex,
I am not using Loco Translate.
I am only using WPML with a single feature ” language switcher”. I don’t use it to translate directly any files.
I only translated using your recommendations.
May 14, 2018 at 4:24 pm #430519We would be happy to take a look at your settings to see if we can find the problem.
Please be sure to have completed all the steps for configuration, and do check to see that your plugins are all up to date.
To allow us to examine the site, please create a private reply and include all the information listed below so we can make a complete diagnosis.
Add listing URL where we can see the issue:
WordPress Credentials
WP Admin Login URL:
WP Admin Username:
WP Admin Password:FTP Credentials
FTP Host:
FTP Port:
FTP User:
FTP Password:May 14, 2018 at 4:51 pm #430527Sure Alex, I will send all the credentials, but let me ask you first: at this moment (like right now) I am adding new listings on my website for a new client.
If you login now to check my ‘issue’, should I save my work and log off, or I can continue working on adding new listings?
Thanks,
VladMay 14, 2018 at 4:59 pm #430529By default you should be able to continue.
If we can’t find the issue we will flag it for the developers to take a look.
May 14, 2018 at 5:27 pm #430538This reply has been marked as private.May 15, 2018 at 9:39 am #430627Hi Vlad,
You have put .mo/.po language files at /wp-content/languages/plugins/, /wp-content/languages/geodirectory/ & at /plugins/geodirectory/geodirectory-languages/. Which one contains most recent translation strings?
Use most recent .mo/.po files at /wp-content/languages/plugins/ and remove from other places.
Let us know how it goes.
Kiran
May 17, 2018 at 7:29 pm #431038Hi Kiran
Ok. maybe I didn’t explain it so well.
I have 2 words that need a correct translation, 2 words that I don’t like how they sound in Romanian. One is “sit web” (the translation for website) and the second one is “recenzii” (the translation for reviews). My correct translation file does not contain these two words and it was put under wp-content/languages/plugins/geodirectory-ro_RO.po and the same .mo .
After a week I think, in this location it seems there is another file, a wrong file…with different size, different words count…I don’t know what file it is…how old or what previous version…because we only did once or twice this po file and we did it without these 2 words.
Now about that 2 other locations…we put there some files exactly because we have had trouble with this file and they are different too. This simply happened, we didn’t have a logic in this, we just wanted to be sure that the problem will not reappear …now let me explain what those two files contain:
#1. the file under wp-content/languages/geodirectory doesn’t contain these 2 words that I don’t need (sit web and recenzii). So its very good. If geodirectory takes its translations from here, it’s very good because it’s a file without those 2 unwanted words.
#2. the other file under wp-content/plugins/geodirectory/geodirectory-languages contains only the word recenzii, and not sit web…so, if geodirectory gets its translations from here….we should have a problem only with one word…but the reality is that I have a problem with both words now (sit web and recenzii) – they continue to reappear oncea week almost…..so this two specific scenarios are doing nothing….its null for me.The only mo file that contains these two words together is under wp-content/languages/plugins…and it’s a wrong mo file. Every single time that I have tried to fix this problem, I simply uploaded the good file in this location that contains 2005 words translated and its exactly the amount of words from the original US.po file that was declared by the geodirectory plugin and it doesn’t contain these 2 unwanted words (sit web and recenzii). Now the file that is under wp-content/languages/plugins which contains the two wrong words… where did it appear from ?
This is what it’s troubeling me. Because I’ll put the good file back and I am afraid it will happen again. Guaranteed. And it’s clearly that from this location geodirectory gets the translations – as you suggested. So, what is happening?
Hope I was clear in this huge amount of text 🙂
May 18, 2018 at 7:25 am #431082Please send us most recent geodirectory-ro_RO.po file which contains all the correct strings. I will check it putting under /wp-content/languages/plugins/ location.
Attach file in zip archive or tell us at which location you have most recent file.
Kiran
May 21, 2018 at 8:35 pm #431557Sure Kiran,
I’ve attached them here.
May 22, 2018 at 4:59 am #431580Hi,
I have put files you provided at /wp-content/languages/plugins/ and now translation is displayed as per that files.
Please check and let us know if you find any incorrect string.
Kiran
May 22, 2018 at 2:21 pm #431634Hi Kiran,
things seem to be all right now. Should I expect to encounter this overwriting issue again?
thanks,
VladMay 22, 2018 at 2:29 pm #431636Whenever you want to update language strings, do it in files at /wp-content/languages/plugins/. If you follow this then there is no change of issue again. 🙂
Kiran
May 25, 2018 at 4:36 pm #432188Hi Kiran! I just read your message. Thanks a lot.
I will do that.Have a great weekend!
Vlad -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket