Can I see it on the site, to get the context. It seems to be ok in the code.
Sorry for the late reaction… i’ve installed the plugin on another site because the issue occures on a site which is still in development.
Please take a look at these urls:
http://www.jopvorm.nl/events/location/locatie-01/
<Country> is translated but by the wrong string (Zip Code)
http://www.jopvorm.nl/events/event/test-evenement/
The word <Location> isn’t tranlated
Again thx in advance for taking a look.
Are you using the most recent version of the plugin?
yes i am. Just installed it this morning…
Did you try that on english version? Maybe the strings in your language are not translated or translated incorretly? Can you check that?
The strings in the PO file are translated correctly. I’ve also tried the english version and the same errors occur. I’ve tried teh plugin on several different domains and the same thigs go wrong.
Am I the only one with this problem?
Btw.. When I change the string <country> in the PO file it changes on the backend inside the WP environment but not on the front end.
There was someone else reporting this, but I thought the issue was solved.
Is there a string like this in the PO file:
<strong>Location: </strong>
The code reposnisibe for the Country is this:
case 'country' :
$field['label'] == __('Country', 'events-maker');
$field['content'] = $value;
break;
I’m double checkig this.
Ok, I found it:
$field['label'] == __('Country', 'events-maker');
should be
$field['label'] = __('Country', 'events-maker');
in loop-event/location-details.php
Same in organizer-details.php
But for the Location: string – it’s not translated to NL I think, because it works fine for other languages.
Thanks for your quite answers and replies! I will change this right away!
No problem. Of course it will be included in the upcoming update.