---
title: "Discussion on \"Get user's preferred languages with JavaScript\" | Hashnode"
description: "Discussion on \"Get user's preferred languages with JavaScript\". Skip to solution\nIf you have different language settings in your website or application wouldn't it be great if you could automatically set the language the user prefers? Doing so may be easer than you think. All you have to do is use navigator.langu..."
url: "https://hashnode.com/posts/get-users-preferred-languages-with-javascript/60870c3e0ab1e40574b9983f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Get user's preferred languages with JavaScript](https://danielcobo.com/get-users-preferred-languages-with-javascript?utm_source=hashnode&utm_medium=feed)

Skip to solution If you have different language settings in your website or application wouldn't it be great if you could automatically set the language the user prefers? Doing so may be easer than you think. All you have to do is use navigator.langu...

Apr 26, 2021 · 1 min read · danielcobo.com  
Updated May 9, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#languages](https://hashnode.com/tag/languages)
-   [#user-experience](https://hashnode.com/tag/user-experience)

## Written by

[Daniel Cobo](https://hashnode.com/@cobo)

@cobo

  
[View profile](https://hashnode.com/@cobo)

👨‍💻 Full-stack developer |🍦Vanilla code advocate

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
