ADDRESS_MSG translation
This topic contains 21 replies, has 4 voices, and was last updated by P O 10 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: address, translation
-
AuthorPosts
-
April 11, 2015 at 11:59 am #36865
When adding a new place under the address it says “ADDRESS_MSG”.
Where is that in the po files to translate ?
Thanks.
April 11, 2015 at 2:31 pm #36879ADDRESS_MSG is the constant that refers to
define('ADDRESS_MSG',__('Please enter listing address. eg. : <b>230 Vine Street</b>',GEODIRECTORY_TEXTDOMAIN));It shouldn’t be visibile, but “Please enter listing address. eg. : <b>230 Vine Street</b>” should. (it is in the geodirectory .po)
April 11, 2015 at 2:34 pm #36881Yes and I have that translated in the PO file, but it shows “ADDRESS_MSG” instead of the text.
Where can I fix it ?
Thanks.
April 11, 2015 at 2:47 pm #36884If that’s happening it might be due to some error in your previously translated strings.
Could you try to add the default .po file and see if ““Please enter listing address. eg. : <b>230 Vine Street</b>” appears? It should be also a consequence of your other issue with the not translate strings (country region and city)April 11, 2015 at 2:51 pm #36885Nope, I just uploaded a fresh downloaded po / mo file without translating.
ADDRESS_MSG is still showing and of course everything else is in english now. So its not my translation file.
Thanks.
April 11, 2015 at 2:55 pm #36887Could you provide url, login details and ftp in a private reply please?
ThanksApril 11, 2015 at 2:58 pm #36888This reply has been marked as private.April 11, 2015 at 3:01 pm #36890My steps.
Duplicate po file to “geodirectory-es_ES.po” Open and save to generate .mo file.
Upload .mo file to wp-content/languages/plugins/
Everything gets translated correctly, but the ADDRESS_MSG city, region and country are not.
Thanks.
April 11, 2015 at 3:27 pm #36899The right way is following this page here
http://docs.wpgeodirectory.com/translating-addons/However, after changing the folder the issue still exists.
Do you remember what steps you did before? Have you edited some files, in the core? It seems that after that string, the following strings are skipped from the translations (country etc..)
April 11, 2015 at 3:34 pm #36900Nope, I havent touch anything but the translation files. Well and the settings of course, but no core files at all. You can replace the plugin itself if you want to.
I saw it when I was doing a test publishing a place and after trying to fix it uploading the mo files again with no success, I opened this thread.
Strange enough a local test works fine.
Where can the problem be ?
Thanks.
April 11, 2015 at 3:39 pm #36901I actually just replaced the complete plugin with a fresh copy and nothing…
So there must be a problem in another place.
April 11, 2015 at 3:41 pm #36903Usually the first culprit is W3 total cache. Tried to clean it up but some of the cached files could be still around, let me guess, on your local website you’re not using w3 total chache, right?
April 11, 2015 at 3:47 pm #36904Adding more info.
In my local test the address text appears, but country, region and city are NOT translating either.
Correct, in local I am not using it, but things are not translating either.
April 11, 2015 at 4:16 pm #36905Feel free to delete completely w3 total cache. I will re add and configure everything when this is fixed.
I dont believe that is the problem, but you can try it.
April 11, 2015 at 4:45 pm #36911I had a look too and I can’t find anything obvious.
I’ve tried to recreate it on my tests sites and I can’t.
Stiofan is alerted and will look at this asap.
We will let you know once it’s fixed.
Thanks for your patience,
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket