WordPress.org

Ready to get started?Download WordPress

Forums

Detect WordPress Installation Language (3 posts)

  1. BlaenkDenum
    Member
    Posted 6 years ago #

    Hey guys I'm trying to figure out how I can detect the user's locale/language being used in their WordPress installation. For example, english, spanish, etc. Something bloginfo('language') apparently doesn't work. Is this possible? It's really important. Thanks!

  2. BlaenkDenum
    Member
    Posted 6 years ago #

    I guess there's no way then...

  3. haochi
    Member
    Posted 6 years ago #

    Google Search: "php detect language"

    First result: http://techpatterns.com/downloads/php_browser_detection.php

    You can detect the browser setting but it would be better if the user confirms it.

Topic Closed

This topic has been closed to new replies.

About this Topic