Title: Language Question
Last modified: August 30, 2016

---

# Language Question

 *  Resolved [kcwebguy](https://wordpress.org/support/users/kcwebguy/)
 * (@kcwebguy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/language-question-1/)
 * I am trying to change some of the text strings to read differently.
 * For example on the search form, instead of “Zip/Postal Code”, I want it to read
   as “Search by Zip Code or City, State”
 * I created a en_US.po file and added that change, but cannot get the en_US file
   to take affect.
 * How do I do this or is there an easier way to change strings?
 * Note that I did just trying change the string in the pot file by changing the
   correct msgstr line to reflect my new string, but it did not work.
 * Ideas?
 * [https://wordpress.org/plugins/simple-locator/](https://wordpress.org/plugins/simple-locator/)

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

 *  Plugin Author [Kyle Phillips](https://wordpress.org/support/users/kylephillips/)
 * (@kylephillips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/language-question-1/#post-6233325)
 * You can pass in a shortcode option to change the label text:
    `[wp_simple_locator
   addresslabel="Search by Zip Code or City, State"]`
 * The upcoming release will have a placeholder option as well, for the input placeholder.
 * The button text can be changed as well:
    `[wp_simple_locator addresslabel="Search
   by Zip Code or City, State" buttontext="Your Custom Button Text Here"]`
 *  Thread Starter [kcwebguy](https://wordpress.org/support/users/kcwebguy/)
 * (@kcwebguy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/language-question-1/#post-6233329)
 * That fixed that issue. Great solution!
 * I am having another issue where I want to change the message that is returned
   when there are no results: No results found.
 * I want it to say: No results found. Expand the distance of your search to try
   and get a result.
 * How would I do this?
 *  Plugin Author [Kyle Phillips](https://wordpress.org/support/users/kylephillips/)
 * (@kylephillips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/language-question-1/#post-6233340)
 * There’s no shortcode parameter currently that’ll change that text. I’ll add it
   in a list of to-dos for the next release.
 * If you’re comfortable with Javascript, there is a function you can hook into 
   if there are no results:
 *     ```
       wpsl_no_results(location, active_form){
       // Perform custom actions here
       }
       ```
   
 *  Thread Starter [kcwebguy](https://wordpress.org/support/users/kcwebguy/)
 * (@kcwebguy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/language-question-1/#post-6233343)
 * Ok. Thanks for the help!
 * Great plugin… =D

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

The topic ‘Language Question’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-locator_279078.svg)
 * [Simple Locator](https://wordpress.org/plugins/simple-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-locator/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kcwebguy](https://wordpress.org/support/users/kcwebguy/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/language-question-1/#post-6233343)
 * Status: resolved