﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
21691,WPLANG not settable in multisite if there are no language files,foxinni,,"I got a plugin running on a multisite and there is definitely something up with the translation.

I tracked the problem down to the WPLANG option in `http://localhost/<subsite>/wp-admin/options.php` being empty. I tried to update it, but it keeps reverting to blank. So down the line the issue with get_locale() looking for the WPLANG value in the site_options and then defaulting back to en_US because it's not picking it up from the wp-config.php defined WPLANG.

I'm assuming that the defined WPLANG in the wp-config.php does not apply in multisite instances. The plugin is only enabled on the separate blog instance, and I changed the translation in wp-config.php after the install if that has anything to do with it.

Simple filter to force the locale in the plugin for the moment:


{{{
function modify_locale(){
    return 'de_DE';
}
add_filter('locale','modify_locale');
}}}


I hope someone can reproduce this issue.",defect (bug),new,normal,Awaiting Review,Multisite,,normal,,close,
