[GH-ISSUE #1782] Auto translate as per browser locale #563

Closed
opened 2026-03-16 16:01:12 +03:00 by kerem · 4 comments
Owner

Originally created by @varadp2000 on GitHub (Aug 18, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1782

Originally assigned to: @varadp2000 on GitHub.

I was wondering if the page could open in the website the web browser of the user uses.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
If I open the site with Hindi as my web browser's language, the default language on the hoppscotch.io should be Hindi

Describe alternatives you've considered
Getting the language from the navigator object of the browser and setting it as site language will work

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @varadp2000 on GitHub (Aug 18, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1782 Originally assigned to: @varadp2000 on GitHub. I was wondering if the page could open in the website the web browser of the user uses. **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** If I open the site with Hindi as my web browser's language, the default language on the hoppscotch.io should be Hindi **Describe alternatives you've considered** Getting the language from the navigator object of the browser and setting it as site language will work **Additional context** Add any other context or screenshots about the feature request here.
kerem 2026-03-16 16:01:12 +03:00
Author
Owner

@varadp2000 commented on GitHub (Aug 18, 2021):

If contributors don't mind, I would love to take this issue

<!-- gh-comment-id:900803150 --> @varadp2000 commented on GitHub (Aug 18, 2021): If contributors don't mind, I would love to take this issue
Author
Owner

@liyasthomas commented on GitHub (Aug 18, 2021):

Hi @varadp2000, thanks for the feature request. FYI: we have this feature already implemented.

We use nuxtjs/i18n for localization and in nuxt.config.js, there's a flag that detects and browser language by default: https://github.com/hoppscotch/hoppscotch/blob/main/nuxt.config.js#L345.

So, this must've been a minor error - would appreciate it if you can take a look into it.
Feel free to ask if you've any doubts.

<!-- gh-comment-id:900820166 --> @liyasthomas commented on GitHub (Aug 18, 2021): Hi @varadp2000, thanks for the feature request. FYI: we have this feature already implemented. We use [`nuxtjs/i18n`](https://i18n.nuxtjs.org) for localization and in `nuxt.config.js`, there's a flag that detects and browser language by default: https://github.com/hoppscotch/hoppscotch/blob/main/nuxt.config.js#L345. So, this must've been a minor error - would appreciate it if you can take a look into it. Feel free to ask if you've any doubts.
Author
Owner

@varadp2000 commented on GitHub (Aug 18, 2021):

Sure, I'll try it

<!-- gh-comment-id:900820591 --> @varadp2000 commented on GitHub (Aug 18, 2021): Sure, I'll try it
Author
Owner

@liyasthomas commented on GitHub (Aug 30, 2021):

With the release of v2 - you can change your default locale from Settings and Hoppscotch will remember the chosen locale in local storage and use it as default.

<!-- gh-comment-id:908164191 --> @liyasthomas commented on GitHub (Aug 30, 2021): With the release of v2 - you can change your default locale from [Settings](https://hoppscotch.io/settings) and Hoppscotch will remember the chosen locale in local storage and use it as default.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#563
No description provided.