[wp-trac] [WordPress Trac] #21691: WPLANG not settable in multisite (was: WPLANG not set in multisite)

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 29 15:53:20 UTC 2012


#21691: WPLANG not settable in multisite
-----------------------------------------+------------------------------
 Reporter:  foxinni                      |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Multisite                    |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by foxinni):

 @ [comment:6 SergeyBiryukov]:

 Remember that I'm not changing the language of my entire Wordpress, I just
 want to have translations for my plugin to work for small American and
 European spelling differences ( en_US & us_US for example). So there are
 no languages in my `wp-content/languages` folder, and thus no drop-down
 settings anywhere to change the locale for the network or subsite. I've
 seen them before and know that they exist. :)

 Perhaps translating just a plugin without the entire WordPress along with
 IS illogical... but I wrote applied filter to fix the issue and I'm very
 happy with the route I've chosen to save myself from writing options to
 change text.

 I tried to update the WPLANG option again, both on my machine and my
 colleuses' in the `wp-admin/options.php`, plus adding
 `update_site_option('WPLANG', 'testing');` to my plugins root file and
 still nothing updates. It just remains blank...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21691#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list