mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #1782] Auto translate as per browser locale #563
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#563
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@varadp2000 commented on GitHub (Aug 18, 2021):
If contributors don't mind, I would love to take this issue
@liyasthomas commented on GitHub (Aug 18, 2021):
Hi @varadp2000, thanks for the feature request. FYI: we have this feature already implemented.
We use
nuxtjs/i18nfor localization and innuxt.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.
@varadp2000 commented on GitHub (Aug 18, 2021):
Sure, I'll try it
@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.