Title: Country string uses Zip Code string
Last modified: August 22, 2016

---

# Country string uses Zip Code string

 *  Resolved [JopVorm](https://wordpress.org/support/users/jopvorm/)
 * (@jopvorm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/)
 * Hello all,
 * I’m using the events maker plugin and I use the NL translated PO file to make
   some custom translations. So far, so good. There’s a little error i can’t seem
   to fix. When viewing the location archive page the word <Country> isn’t translated
   and uses the <Zip Code> string instead.
 * Am I overlooking something?
 * Thx for your reply in advance!
 * [https://wordpress.org/plugins/events-maker/](https://wordpress.org/plugins/events-maker/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718113)
 * Can I see it on the site, to get the context. It seems to be ok in the code.
 *  Thread Starter [JopVorm](https://wordpress.org/support/users/jopvorm/)
 * (@jopvorm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718314)
 * 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/](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/](http://www.jopvorm.nl/events/event/test-evenement/)
   
   The word <Location> isn’t tranlated
 * Again thx in advance for taking a look.
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718322)
 * Are you using the most recent version of the plugin?
 *  Thread Starter [JopVorm](https://wordpress.org/support/users/jopvorm/)
 * (@jopvorm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718323)
 * yes i am. Just installed it this morning…
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718326)
 * Did you try that on english version? Maybe the strings in your language are not
   translated or translated incorretly? Can you check that?
 *  Thread Starter [JopVorm](https://wordpress.org/support/users/jopvorm/)
 * (@jopvorm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718329)
 * 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.
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718333)
 * 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.
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718334)
 * Ok, I found it:
 * `$field['label'] == __('Country', 'events-maker');`
    should be `$field['label']
   = __('Country', 'events-maker');`
 * in loop-event/location-details.php
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718335)
 * 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.
 *  Thread Starter [JopVorm](https://wordpress.org/support/users/jopvorm/)
 * (@jopvorm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718336)
 * Thanks for your quite answers and replies! I will change this right away!
 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718338)
 * No problem. Of course it will be included in the upcoming update.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Country string uses Zip Code string’ is closed to new replies.

 * ![](https://ps.w.org/events-maker/assets/icon-256x256.png?rev=1574084)
 * [Events Maker by dFactory](https://wordpress.org/plugins/events-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/events-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-maker/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/country-string-uses-zip-code-string/#post-5718338)
 * Status: resolved