Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate the app 🌍 #99

Open
nicorac opened this issue Mar 11, 2024 · 16 comments
Open

Translate the app 🌍 #99

nicorac opened this issue Mar 11, 2024 · 16 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nicorac
Copy link
Owner

nicorac commented Mar 11, 2024

Intro

BCR-GUI now supports translations.

You could help translating it in your language in 2 ways:

  • use Weblate online translation service
  • edit source files directly

Weblate

BCR-GUI has a page on Weblate: https://hosted.weblate.org/projects/bcr-gui/app/

If you'd like to translate in your language, drop a message in this issue specifying the culture code (i.e. en-US) you'd like to translate to and I'll add that language to the project.

When your work is complete, I'll release an update with the new translation.

Direct sources edit

Translation files are contained in /src/assets/i18n directory; it currently contains en-US and it-IT cultures.

To help translating you should:

  1. put a message in this issue to notify anyone you're going to translate to a specific culture (and avoid more than one person work on the same one)
  2. fork the repo (or open it online here)
  3. copy the reference language file en-US.json to a new filename based on culture you're goind to create (see the README.md file contained in i18n directory)
  4. translate each item
  5. open a PR to let me integrate your changes...

Thanks in advance for your help, you'll be mentioned in application About page (if you like it 😉).

Online sources edit

If you have a Github account, you can also edit sources within your browser, thanks to github.dev.

  • fork the repository
  • go to your fork home page
  • press . key to open the online editor (very similar to VSCode)
  • create the new language file (see the instructions above)
  • commit your changes and open a PR
@nicorac nicorac added enhancement New feature or request help wanted Extra attention is needed labels Mar 11, 2024
@nicorac nicorac self-assigned this Mar 11, 2024
@nicorac nicorac pinned this issue Mar 11, 2024
This was referenced Mar 11, 2024
@nicorac
Copy link
Owner Author

nicorac commented Mar 19, 2024

Thanks to @HuangSmith for Chinese (simplified) translation 👍

@AlirezaParsi
Copy link
Contributor

i did persian too pls add it <3

@nicorac
Copy link
Owner Author

nicorac commented Mar 27, 2024

i did persian too pls add it <3

What's the culture code of the language you'd like to translate? (ie: en-US)

Please refer to README.md file for country/language codes

@AlirezaParsi
Copy link
Contributor

AlirezaParsi commented Mar 28, 2024

i did persian too pls add it <3

What's the culture code of the language you'd like to translate? (ie: en-US)

Please refer to README.md file for country/language codes

like this :
fa-IR - Persian(پارسی)
Language Code (ISO 639-1) - Country Code (ISO 3166-1 Alpha2)

@nicorac
Copy link
Owner Author

nicorac commented Mar 28, 2024

i did persian too pls add it <3

Just released version 1.7.2 includes your work, thanks 😉

@Arkl1ne
Copy link
Contributor

Arkl1ne commented Apr 24, 2024

If you'd like to translate in your language, drop a message in this issue specifying the culture code (i.e. en-US) you'd like to translate to and I'll add that language to the project.

Please add a Ukrainian language branch and I'll do the translation
uk-UA

@nicorac
Copy link
Owner Author

nicorac commented Apr 24, 2024

Please add a Ukrainian language branch and I'll do the translation
uk-UA

I've just added your language to Weblate, thanks 👍

@kunago
Copy link
Contributor

kunago commented Aug 15, 2024

Hey @nicorac , I enrolled for the Czech translation but it appears these is no source template imported as there is nothing to translate. Do I need to import the template myself?

@nicorac
Copy link
Owner Author

nicorac commented Aug 15, 2024

Thanks for repporting it, should be ok now...
https://hosted.weblate.org/translate/bcr-gui/app/cs/

@kunago
Copy link
Contributor

kunago commented Aug 16, 2024

@nicorac : I finished the translation, just announcing.

@nicorac
Copy link
Owner Author

nicorac commented Aug 16, 2024

@nicorac : I finished the translation, just announcing.

Thanks for your work.
I'll release it in a new version in a few days, when my summer break ends 😉

@nicorac
Copy link
Owner Author

nicorac commented Aug 25, 2024

@nicorac : I finished the translation, just announcing.

v1.7.8 released, with Czech translation.
Thanks again for your work 👍

@Ogloppi
Copy link

Ogloppi commented Aug 26, 2024

Could you add fi-FI to Weblate please? I would do the translation to Finnish.

@nicorac
Copy link
Owner Author

nicorac commented Aug 27, 2024

Could you add fi-FI to Weblate please? I would do the translation to Finnish.

Sure, thanks.
Finnish is ready for translation 👍

@Ogloppi
Copy link

Ogloppi commented Aug 27, 2024

Sure, thanks. Finnish is ready for translation 👍

Alright, I'm done with the Finnish translation.

@nicorac
Copy link
Owner Author

nicorac commented Aug 27, 2024

Alright, I'm done with the Finnish translation.

New version 1.7.9 just released.
Thanks for your work 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants