what am i doing wrong ?

i want to fetch what langugage of new users.

i've tested and tried:

navigator.userLanguage
navigator.browserLanguage
navigator.systemLanguage

and so far it returns: undefined

thx

Dark

Recommended Answers

All 3 Replies

that would be:

navigator.language

and that would indicate the client language used in the system by that client on that terminal.

commented: helpful tip +0

i'm going to test that asap tomorrow morning and get back to you.

thx for the reply.

Dark

yes that work

thx

Dark

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.