[wp-hackers] Simplest way to create a custom language pack for the purpose of markup only?
Otto
otto at ottodestruct.com
Mon Feb 24 21:06:14 UTC 2014
On Mon, Feb 24, 2014 at 1:50 PM, Aahan Krish <krish+wphackers at aahan.me> wrote:
>
> Hello Nikola,
>
> I should have clarified that I am using WordPress Multisite, and as there's
> only one wp-config.php file, I don't think it's possible. Or is it?
>
> From what I read, in my given case (WordPress Multisite) I need the
> language files to enable a specific language via the individual site's
> settings in the network admin.
WPLANG is settable on a per-site basis in multisite. Just go to the
/wp-admin/network, Sites->All Sites, pick your site from the list and
click the "Edit" link, go to the Settings tab for that site, and
scroll down until you find the WPLANG setting. Same setting, same type
of values.
Then just name your files appropriately in the wp-content/languages directory.
-Otto
More information about the wp-hackers
mailing list