[GH-ISSUE #417] Toggling options will reset the UI to English #159

Closed
opened 2026-03-16 13:46:47 +03:00 by kerem · 6 comments
Owner

Originally created by @williamsp on GitHub (Dec 10, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/417

Describe the bug
Toggling options will reset the UI to English.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://postwoman.io/'
  2. Click on 'Choose Language' on lower right corner
  3. Click on 'Bahasa Indonesia'
  4. Switch on the 'Sertakan di URL' toggle on Authentication tab
  5. The UI resets to English

Expected behavior
The UI still in Bahasa Indonesia.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows 7
  • Browser: Chrome
  • Version: 72

Smartphone (please complete the following information):
N/A

Additional context
N/A

Originally created by @williamsp on GitHub (Dec 10, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/417 **Describe the bug** Toggling options will reset the UI to English. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'https://postwoman.io/' 1. Click on 'Choose Language' on lower right corner 1. Click on 'Bahasa Indonesia' 1. Switch on the 'Sertakan di URL' toggle on Authentication tab 1. The UI resets to English **Expected behavior** The UI still in Bahasa Indonesia. **Screenshots** N/A **Desktop (please complete the following information):** - OS: Windows 7 - Browser: Chrome - Version: 72 **Smartphone (please complete the following information):** N/A **Additional context** N/A
kerem closed this issue 2026-03-16 13:46:52 +03:00
Author
Owner

@liyasthomas commented on GitHub (Dec 10, 2019):

Issue has been identified. Will fix it ASAP

<!-- gh-comment-id:564136275 --> @liyasthomas commented on GitHub (Dec 10, 2019): Issue has been identified. Will fix it ASAP
Author
Owner

@runyasak commented on GitHub (Dec 10, 2019):

I have fixed by set detectBrowserLanguage to false.
It will disable cookie and enable for redirect.
Ref: https://nuxt-community.github.io/nuxt-i18n/browser-language-detection.html

You can review on my PR #418.
If you have any feedback or suggestion, you can tell me. 😁

<!-- gh-comment-id:564160577 --> @runyasak commented on GitHub (Dec 10, 2019): I have fixed by set `detectBrowserLanguage` to false. It will disable cookie and enable for redirect. Ref: https://nuxt-community.github.io/nuxt-i18n/browser-language-detection.html You can review on my PR #418. If you have any feedback or suggestion, you can tell me. 😁
Author
Owner

@liyasthomas commented on GitHub (Dec 10, 2019):

#418 doesn't seem to fix this issue. Preview build for #418 : https://deploy-preview-418--postwoman.netlify.com/
On pages/index.vue in line 1850, this.$router.replace cause this bug.

<!-- gh-comment-id:564304017 --> @liyasthomas commented on GitHub (Dec 10, 2019): #418 doesn't seem to fix this issue. Preview build for #418 : https://deploy-preview-418--postwoman.netlify.com/ On `pages/index.vue` in line `1850`, `this.$router.replace` cause this bug.
Author
Owner

@williamsp commented on GitHub (Dec 11, 2019):

It seems that e2d7c02 only fix the toggle on the Home page.
But other toggles (like Multicolor and Proxy in Settings page) still have this issue.

<!-- gh-comment-id:564356508 --> @williamsp commented on GitHub (Dec 11, 2019): It seems that e2d7c02 only fix the toggle on the Home page. But other toggles (like Multicolor and Proxy in Settings page) still have this issue.
Author
Owner

@liyasthomas commented on GitHub (Dec 11, 2019):

Will fix it ASAP.

<!-- gh-comment-id:564357060 --> @liyasthomas commented on GitHub (Dec 11, 2019): Will fix it ASAP.
Author
Owner

@liyasthomas commented on GitHub (Dec 11, 2019):

Fixed in github.com/liyasthomas/postwoman@945a83625d

<!-- gh-comment-id:564359635 --> @liyasthomas commented on GitHub (Dec 11, 2019): Fixed in https://github.com/liyasthomas/postwoman/commit/945a83625d6e902d61955b58cd17f322a9b0159a
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#159
No description provided.