[GH-ISSUE #348] i18n support #128

Closed
opened 2026-03-16 13:35:53 +03:00 by kerem · 5 comments
Owner

Originally created by @FatDoge on GitHub (Nov 27, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/348

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Support multiple languages is user-friendly.
Maybe we can create serveral language profiles and everyone can take a part in the translation plan.

Originally created by @FatDoge on GitHub (Nov 27, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/348 **Is your feature request related to a problem? Please describe.** No **Describe the solution you'd like** Support multiple languages is user-friendly. Maybe we can create serveral language profiles and everyone can take a part in the translation plan.
kerem 2026-03-16 13:35:53 +03:00
Author
Owner

@liyasthomas commented on GitHub (Nov 27, 2019):

This is gold. I was waiting for someone to ask about it. Internationalization should be the next best thing that could happen to PW.

I think there's a official Nuxt mod for that. Will look up to it and implement it ASAP.

<!-- gh-comment-id:558907445 --> @liyasthomas commented on GitHub (Nov 27, 2019): This is gold. I was waiting for someone to ask about it. Internationalization should be the next best thing that could happen to PW. I think there's a official Nuxt mod for that. Will look up to it and implement it ASAP.
Author
Owner

@FatDoge commented on GitHub (Nov 27, 2019):

Thanks again for this awesome project, I think everyone would be pleasure to help with supporting i18n.

<!-- gh-comment-id:558912216 --> @FatDoge commented on GitHub (Nov 27, 2019): Thanks again for this awesome project, I think everyone would be pleasure to help with supporting i18n.
Author
Owner

@liyasthomas commented on GitHub (Nov 27, 2019):

#351 fixes this. Which is just an initial model. And we're gonna need contributors for finishing it.

<!-- gh-comment-id:559006606 --> @liyasthomas commented on GitHub (Nov 27, 2019): #351 fixes this. Which is just an initial model. And we're gonna need contributors for finishing it.
Author
Owner

@liyasthomas commented on GitHub (Nov 27, 2019):

This was solved in #351 hence closing

<!-- gh-comment-id:559062488 --> @liyasthomas commented on GitHub (Nov 27, 2019): This was solved in #351 hence closing
Author
Owner

@liyasthomas commented on GitHub (Nov 27, 2019):

For those who are interested in localization, can contribute to i18n branch. i18n is maintained on a separate branch and will merge to master once or twice in a week for convenience. Please make PRs to i18n branch only so that we could track it's progress easily.

Checklist:

  • Git clone repo, checkout i18n branch

    git clone https://github.com/hoppscotch/hoppscotch.git
    git checkout i18n

  • Pull the latest changes from i18n branch

    git pull

  • Add/find lang/<<your_locale_file>>.js
    Ex: lang/es-ES.js

  • Fill translations with locale

  • Add/update nuxt.config.js No need to update nuxt.config.js if language is already added once
    Ex:

      i18n: {
        locales: [{
          code: 'es',
          name: 'Español',
          iso: 'es-ES',
          file: 'es-ES.js'
        }]
      }
    
  • Save & commit changes. Push to i18n branch only

    git add .
    git commit -m "Translations for <<your_language>>"
    git push

  • Make PR to i18n branch.

Refer English translation file en-US.json for reference and stylings. Comment here if you've any doubts.

<!-- gh-comment-id:559143246 --> @liyasthomas commented on GitHub (Nov 27, 2019): For those who are interested in localization, can contribute to [`i18n branch`](https://github.com/hoppscotch/hoppscotch/tree/i18n). i18n is maintained on a separate branch and will merge to master once or twice in a week for convenience. Please make PRs to `i18n branch` only so that we could track it's progress easily. ### Checklist: - [ ] Git clone repo, checkout [`i18n branch`](https://github.com/hoppscotch/hoppscotch/tree/i18n) > `git clone https://github.com/hoppscotch/hoppscotch.git` > `git checkout i18n` - [ ] **Pull the latest changes from `i18n` branch** > `git pull` - [ ] Add/find `lang/<<your_locale_file>>.js` Ex: `lang/es-ES.js` - [ ] **Fill translations** with locale - [ ] Add/update `nuxt.config.js` **No need to update `nuxt.config.js` if language is already added once** Ex: ``` i18n: { locales: [{ code: 'es', name: 'Español', iso: 'es-ES', file: 'es-ES.js' }] } ``` - [ ] Save & commit changes. **Push to `i18n` branch only** > `git add .` > `git commit -m "Translations for <<your_language>>"` > `git push` - [ ] Make PR to `i18n` branch. Refer English translation file [`en-US.json`](https://github.com/hoppscotch/hoppscotch/blob/i18n/lang/en-US.json) for reference and stylings. Comment here if you've any doubts.
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#128
No description provided.