Title: kustomweb's Replies | WordPress.org

---

# kustomweb

  [  ](https://wordpress.org/support/users/kustomweb/)

 *   [Profile](https://wordpress.org/support/users/kustomweb/)
 *   [Topics Started](https://wordpress.org/support/users/kustomweb/topics/)
 *   [Replies Created](https://wordpress.org/support/users/kustomweb/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/kustomweb/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/kustomweb/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/kustomweb/engagements/)
 *   [Favorites](https://wordpress.org/support/users/kustomweb/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce My Account Widget] Translation problem](https://wordpress.org/support/topic/translation-problem-16/)
 *  [kustomweb](https://wordpress.org/support/users/kustomweb/)
 * (@kustomweb)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/translation-problem-16/#post-4712775)
 * I am putting together a multi-language site with WPML and WooCommerce.
    [http://usa2sweden.se/site/](http://usa2sweden.se/site/)
   [http://usa2sweden.se/site/?lang=en](http://usa2sweden.se/site/?lang=en)
 * The my account widget would not change languages even I selected from the country
   drop down. This is how I finally solved it:
 * I edited wp-config.php:
 * if (isset($_GET[“lang”])) {
    $lang = $_GET[“lang”] . “_” . strtoupper($_GET[“
   lang”]); define(‘WPLANG’, $lang); } else { define(‘WPLANG’, ‘sv_SE’); }
 * If you’re using the “Different languages in directories” option, you can parse
   the $_SERVER[“REQUEST_URI”] to extract the language slug.

Viewing 1 replies (of 1 total)