Title: L10n problem
Last modified: April 19, 2017

---

# L10n problem

 *  [iTRON](https://wordpress.org/support/users/hokku/)
 * (@hokku)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/l10n-problem/)
 * Hello, friends!
    I am WP-programmer from Russia. Seems what after recetly innovations
   in WordPress core, we have some problem with localization. I mean a new feature
   define language for user. After this, Woocommerce sometime use user-locale instead
   global-locale. For example, it affect to emails for WC-customer when order status
   changes – emails use user language instead site language. Some problem with a
   lot of woocommerce descriptions.
 * As a temporaty solution for emails, I use this code
 *     ```
       	add_action( 'wp_ajax_woocommerce_mark_order_status', 'repair__woocommerce_mark_order_status', 1 );
       	function repair__woocommerce_mark_order_status(){
       		$GLOBALS['wp_locale_switcher']->switch_to_locale( get_locale() );
       	}
       ```
   

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

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [iTRON](https://wordpress.org/support/users/hokku/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/l10n-problem/)
 * Status: not resolved