Title: Localization problem
Last modified: August 21, 2016

---

# Localization problem

 *  Resolved [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/)
 * Hi. I have just finished the translation of the Subscribe2 plugin into Basque
   and I was planning on sending it to the creators, but it is not working. I have
   read this thread, but I am bot sure it applies here:
    [http://wordpress.org/support/topic/plugin-subscribe2-localization-problems?replies=38](http://wordpress.org/support/topic/plugin-subscribe2-localization-problems?replies=38)
 * In my case, loading the .mo and .po files for the plugin into the plugin’s root
   directory seems to do nothing. Funny enough, even when the Subscribe2 plugin 
   is uninstalled some text in the settings panel remains translated into Basque(
   things like “once a day”, “twice a day”, “bulk actions”), and I suspect it is
   being picked from the .mo file of WordPress (I have it installed in Basque). 
   So, it seems like something is preventing the plugin from accessing its languales
   files. I have polylang installed, but deactivating it does no good; the majority
   of the text remains in English, with the same few strings in Basque.
 * Any idea of what I could do?
 * [https://wordpress.org/plugins/subscribe2/](https://wordpress.org/plugins/subscribe2/)

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

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5115981)
 * [@mabz](https://wordpress.org/support/users/mabz/),
 * Have you got the correct lang code defined in wp-config.php and are the 2 files
   you created for Subscribe2 named correctly? (subscribe2-eu_ES.mo)
 *  Thread Starter [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5115991)
 * Hi mattyrob,
    Thanks for your answer! WPLANG is defined as follows in wp-config.
   php: (‘WPLANG’, ‘eu’); Do I need to change that?
 * The .mo and .po files are named correctly.
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5115992)
 * [@mabz](https://wordpress.org/support/users/mabz/),
 * The WPLANG settings and file names need to be same. Change either so that they
   match and try again.
 *  Thread Starter [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116131)
 * I had installed WP in Basque, without adding the language files manually, and
   hadn’t noticed that they have named the .mo/.po files just eu, instead of eu_ES.
   
   If I change the WP .mo and po. files to eu_ES, and change the wp-config.php to
   match that, my WP dashboard turns into English, and Subscribe2 is still in English.
   If I change the Subscribe2 .mo and .po files to plain eu, then it works, but 
   I still need to check if the Spanish version of the site works too (I haven’t
   had time to check that). I’ll keep the topic open for a couple of days while 
   I run a few more tests and I will write about the outcomes, just in case it is
   helpful for anybody else. Thanks for your help, and for creating such a nice 
   plugin!
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116148)
 * [@mabz](https://wordpress.org/support/users/mabz/),
 * Maybe the Basque version has made more changed than just the language code and*.
   mo files. At least you have the Subscribe2 translations working now.
 *  Thread Starter [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116161)
 * Well, the Subscribe2 translations are not working that well. I have set up 3 
   test subscription pages, one in each language of the site(English, Spanish and
   Basque):
    [http://www.paisaia.com/harpidetzaproba/](http://www.paisaia.com/harpidetzaproba/)
   [http://www.paisaia.com/pruebasuscripcion/](http://www.paisaia.com/pruebasuscripcion/)
   [http://www.paisaia.com/subscriptiontest/](http://www.paisaia.com/subscriptiontest/)
 * The subscription form is displayed in the correct language, but when you enter
   an email to subscribe, the message you get is always in Basque, no matter the
   language of the form. The email you get letting you know that you have requested
   to subscribe is always in English, except for the “action” word, which is invariably
   in Basque, no matter the language of the form. I have checked the .mo files, 
   and the strings are translated into Spanish and Basque, but it doesn’t pick them.
 * If you register in the webpage in Spanish, once you receive your WP password (
   WP emails are in the correct language) and access your dashboard, only categories
   in Spanish are listed for you to subscribe to (which is actually ok for me), 
   and if you register in English, you see all categories, in Basque, Spanish and
   English. The choice of categories stays the same, even when you change your dashboard
   language setting to another.
 * When you change your dashboard language, the text in the Subscribe2 section is
   displayed in the correct language. The problem os with the mconfirmation messages
   and emails sent to subscribers.
 * Any idea of why this would happen?
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116162)
 * [@mabz](https://wordpress.org/support/users/mabz/),
 * Yes, Subscribe2 isn’t totally compatible with Polylang but it’s more compatible
   with that multi language solution than any of the others.
 *  Thread Starter [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116216)
 * Well, I have tried deactivating all my plugins, including Polylang, and turning
   my WP language to es_ES, and still the plugin doesn’t display the contents of
   the template tab in Spanish, as it should. Does your last reply mean that there
   is nothing else that can be done?
 *  Thread Starter [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116218)
 * Hi again mattyrob,
 * I have managed to fix the problem of users susbcribing from the Spanish page 
   being redirected to the Basque page once they hit the subscribe button using 
   the page id parameter in the subscribe2 shortcode, so now they receive a message
   saying that the confirmation email was sent in the language they were using to
   subscribe.
 * I have other issues, though. I publish posts in two languages, and using Polylang
   each post has its translation, so when you visit the blog in Spanish you read
   the Spanish “version”,and when you visit it in Basque, you read the Basque “version”.
   I was hoping that public subscribers would get only the post in the language 
   they had used to subscribe, but they receive an email for each post published,
   not just the “right” one. Is there any way I can fix that?
 * And even if at the beginning users who registered in a certain language and went
   to their WP dashboard would find only the categories in the language they had
   used to register, now (I am not aware of having done anything different) they
   see all categories in every language. What am I doing wrong?
 *  Thread Starter [MABZ](https://wordpress.org/support/users/mabz/)
 * (@mabz)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116224)
 * Sorry for having taken up so much of your time. It is wonderful to have a free
   plugin that allows registered subscribers to choose post categories; thanks a
   lot! I’ll try to deal with the language the best I can. Thanks for your help!
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116234)
 * [@mabz](https://wordpress.org/support/users/mabz/),
 * The email template is stored in the database so I’m not sure how PolyLang could
   handle that. Public Subscribers don’t choose a language for their email subscription
   so they will probably continue to get 2 emails.

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

The topic ‘Localization problem’ is closed to new replies.

 * ![](https://ps.w.org/subscribe2/assets/icon-256x256.png?rev=2318630)
 * [Subscribe2 - Form, Email Subscribers & Newsletters](https://wordpress.org/plugins/subscribe2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2/reviews/)

## Tags

 * [Localization](https://wordpress.org/support/topic-tag/localization/)

 * 11 replies
 * 2 participants
 * Last reply from: [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/localization-problem-10/#post-5116234)
 * Status: resolved