We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

browser language

Home Forums General Questions browser language

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #73104
    cralex75
    Customer

    Hi everyone, is it possible with puzzles, to detect the browser language and change “image backgrond” “DIV” depending on the language?

    #73108
    kdv
    Participant

    window.navigator.language

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #73254

    Hi cralex75,

    You can use custom code as kdv suggested, or the following puzzle set:

    Getting browser language with Puzzles

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #73978
    cralex75
    Customer

    :good: thanks, it works fine, what if I want to take the language from the operating system instead? can I use the same script?

    Attachments:
    You must be logged in to view attached files.
    #73980
    kdv
    Participant

    Nope. You can’t read the operating system’s language from browsers (except Internet Explorer).
    https://stackoverflow.com/questions/3894488/is-there-anyway-to-detect-os-language-using-javascript

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #73981
    cralex75
    Customer

    Ok thanks for the clarification

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.