Forums

find browser language with xili (1 post)

  1. vodz0001
    Member
    Posted 1 year ago #

    Hi,
    I'm using xili for multi-lingual site. Is there an easy way to define browser language (something like a ICL_LANGUAGE_CODE in WPML)? I need to write a function based on the current laguage of user. I could possibly write (or use) some custom PHP fuctions to detect the language but I prefer to use a built-in features to have as less additional code as possible.
    Any help is appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic