Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You can patch wppa-common-functions.php

    Look for function wppa_load_language() { on line 688.

    approx 20 lines further it reads:

    .
    	// Get locale from wp-config
    	else {
    		$wppa_locale = get_locale();
    		$lang = substr($wppa_locale, 0, 2);
    	}
    
    	if ($wppa_locale) {

    Change to:

    .
    	// Get locale from wp-config
    	else {
    		$wppa_locale = get_locale();
    		$lang = substr($wppa_locale, 0, 2);
    	}
    
    	$wppa_locale = 'zh_TW';
    
    	if ($wppa_locale) {

    Thread Starter hkdigit

    (@hkdigit)

    opajaap,

    Great Thanks!

    Will you consider to make it configurable on admin page for later version?

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Yes, i will

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

The topic ‘Force locale parameter?’ is closed to new replies.