mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #488] Application contains many hard-coded strings that aren't translatable #191
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#191
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 @alecananian on GitHub (Jan 14, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/488
Originally assigned to: @alecananian on GitHub.
Describe the bug
I've found about 150+ unique hard-coded strings in the application code for titles, placeholders, toast messages, etc that are untranslatable because they're not set up to be compatible with
nuxt-i18n.To Reproduce
Steps to reproduce the behavior:
Expected behavior
All phrases are available for translation in the localized JSON files
Additional context
I can create a pull request fixing as many of these as I could find, it just touches a ton of files so I wanted to confirm it's desired first or if the maintainers have any further suggestions.
@liyasthomas commented on GitHub (Jan 14, 2020):
So sorry for this,
i18nneeds contributors such as you to make it complete. Core devs have been busy with other feature requests and bug fixes and have very little time to work on translations.If you're willing to take this challenge, we're happy for that. Shall I assign this task to you?
@alecananian commented on GitHub (Jan 14, 2020):
Sure! Happy to do it. Does it make sense to do this as a branch off the current
typescriptbranch since they both touch many files, or just offmaster?@liyasthomas commented on GitHub (Jan 14, 2020):
Let me make
masterandi18nbranch even and will let you know in 2 mins.@liyasthomas commented on GitHub (Jan 14, 2020):
Here you go: https://github.com/liyasthomas/postwoman/tree/i18n
i18ncontributuion checklist:i18nbranchlang/<<your_file>>.jsnuxt.config.jsif language is already added once)i18nbranch onlyRefer English translation file https://github.com/liyasthomas/postwoman/blob/i18n/lang/en-US.js (most prolly outdated!) for reference and stylings. Ping me for any doubts.
@alecananian commented on GitHub (Jan 14, 2020):
Seems I couldn't commit directly to this repository, so I forked the
i18nbranch. Here are the changes: https://github.com/liyasthomas/postwoman/pull/489@liyasthomas commented on GitHub (Jan 14, 2020):
Fixed in #490 #491