Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    the article you linked mostly describes how to get translations. MLP provides a function to get the ?locale? (language code) for the current blog: mlp_get_current_blog_language()

    An alternative is mlp_get_blog_language( int $blog_id ) if you want to get the language for any blog by ID.

    Thread Starter arifamrullah

    (@arifamrullah)

    Yup, it works. ??
    Thanks for the answer, David.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get language code’ is closed to new replies.