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鈥檒l 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 · 7 comments
Open

Translate the app 馃實 #99

nicorac opened this issue Mar 11, 2024 · 7 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 馃憤

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

3 participants