mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4447] [MERGED] fix: i18n strings not falling back correctly #4807
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#4807
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4447
Author: @AndrewBastin
Created: 10/17/2024
Status: ✅ Merged
Merged: 10/17/2024
Merged by: @AndrewBastin
Base:
patch← Head:fix/i18n-fallback📝 Commits (1)
b660604fix: i18n strings not falling back correctly📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
packages/hoppscotch-common/src/modules/i18n.ts(+8 -0)📄 Description
This PR intends to fix an issue with the i18n system not falling back correctly to the fallback language (English) translations.
This results in the value printed out being the actual raw i18n tags. This is not visible when the language is changed from English, but once we are in a non-English language and we do a reload, the
enlanguage messages are not present and this causes the fields to be present there.Current State (on reload when German is set as the language):

Notice the
count.keyfield.What's changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
openExternalLink#4947