Support » Plugin: Loushou Language Links » New features

Viewing 2 replies - 1 through 2 (of 2 total)
  • I solve my second question by adding hook in wp-config:

    if (strpos($_SERVER[‘REQUEST_URI’], ‘/en’) === 0) {
    define (‘WPLANG’, ‘en_US’);
    } else {
    define (‘WPLANG’, ‘ru_RU’);
    }

    I solve my first question by the same way: disable plugin if site open with default language, but it will be good to apply this feature in plugin =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New features’ is closed to new replies.