WordPress.org

Ready to get started?Download WordPress

Forums

Multi-languagge multisite (2 posts)

  1. johnyc
    Member
    Posted 7 months ago #

    Hello,
    I have setup multisite wp for multi-language. & created a child-theme of twentytwelve to use across all sites.
    My structure is subdirectory multisite domain.com
    domain.com/en/
    domain.com/hi/
    domain.com/cn/

    I dont want to use any multi-language or auto-translate plugins because I've natively translated all sites already.
    I just want to add language meta tag for each sub-site. For example for Hindi website domain.com/hi should show lang as hindi
    <html lang="hi">

    I use common child theme (which follow uniform design across the site) & I dont wish to create separate themes for each sub-site.
    How to add language attribute to these subsites?
    I dont see "Site language" option in the Settings->General subpanel. (as stated in http://codex.wordpress.org/Installing_WordPress_in_Your_Language#Multi-Site_Installations )

    [Bumps Deleted. Please don't do that.]

  2. Hi Johny,

    Please don't bump, it's against forum rules. This topic is the correct forum category.

    There's several way to approach this. You could use a plugin like http://wordpress.org/plugins/head-meta-data/ or write a conditional statement (PHP) that states the language meta tag based on the ID of the Blog. Try the plugin and see if that works...

Reply

You must log in to post.

About this Topic