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

Translations for different languages in the config file #17

Open
16 tasks done
TechWiz-3 opened this issue Oct 9, 2022 · 36 comments
Open
16 tasks done

Translations for different languages in the config file #17

TechWiz-3 opened this issue Oct 9, 2022 · 36 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@TechWiz-3
Copy link
Owner

TechWiz-3 commented Oct 9, 2022

config.py uses the TOML format to allow users to customise the output they receive from the CLI tool.''

Please add your language for each theme while maintaining current styles

List of languages we ALREADY have:

  • English
  • Hindi
  • German
  • French
  • Turkish
  • Polish
  • Spanish
  • Indonesian
  • Dutch
  • Greek
  • Nepali
  • Gujarati
  • Bangla
  • Chinese
  • Portuguese
  • Punjabi

Please don't use Google Translate, PRs with Google Translate detected will not be accepted 😭

@TechWiz-3 TechWiz-3 added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Oct 9, 2022
@rexdivakar
Copy link
Contributor

Do u have any suggestions on how to proceed so i can take this up too

@TechWiz-3
Copy link
Owner Author

I'd recommend copying the english locale and then pasting it below editing it to reflect the same words but in your chosen language

@TechWiz-3
Copy link
Owner Author

One thing at a time tho 😆

@ShivanshDengla
Copy link
Contributor

Hey,
I made a pull request, I updated for Hindi, but i am doing this for the first time so i didn't know how to correctly code it. I just copied english and changed the Hindi lines, do let me know if theres any mistake, i'll try to correct it.
Thanks

@TechWiz-3
Copy link
Owner Author

Perfect, I'll check it out and let you know 👍

@TechWiz-3 TechWiz-3 pinned this issue Oct 9, 2022
@IamMU
Copy link
Contributor

IamMU commented Oct 9, 2022

I can do german translation

@kat-kan
Copy link
Contributor

kat-kan commented Oct 9, 2022

I can do Polish translation if you want :)

@TechWiz-3
Copy link
Owner Author

Great :))

@IamMU IamMU mentioned this issue Oct 9, 2022
8 tasks
@ethmtrgt
Copy link
Contributor

ethmtrgt commented Oct 9, 2022

Hello, I can do Turkish translation.

@TechWiz-3
Copy link
Owner Author

Perfect

@shubham7668
Copy link
Contributor

shubham7668 commented Oct 9, 2022

Perfect

Hey @TechWiz-3 i have added french language support
Kindly check and review #23

@TechWiz-3
Copy link
Owner Author

Merci becoup 🤣

@shubham7668
Copy link
Contributor

Merci becoup 🤣

C'est mon plaisir 🤗

@kat-kan kat-kan mentioned this issue Oct 9, 2022
8 tasks
@rexdivakar
Copy link
Contributor

Hey @TechWiz-3 i have added for tamil translation, kindly review and approve the PR #35

@Sir1Code
Copy link

I'd love to make a Hebrew translation :)

@TechWiz-3
Copy link
Owner Author

sure 👍

@chrisli-03
Copy link
Contributor

i can translate to Chinese

@TechWiz-3
Copy link
Owner Author

Go ahead :)

@Lakhaninawaz
Copy link
Contributor

Go ahead :)

Hello, i am first time in contrubution please help me how can do it

@TechWiz-3
Copy link
Owner Author

Sure man are you familiar with git?

@Lakhaninawaz
Copy link
Contributor

yes, I know little about Git. But i know about Github.

@TechWiz-3
Copy link
Owner Author

  1. Fork the repository
  2. Clone your fork
  3. Go into your fork and open a text editor for the file unfollow/unfollow/config.py
  4. Copy this text
[locale.english.simple]
welcome_message = "Welcome to who-unfollowed-me Python implementation by Zac the Wise"
fetched_followers_message = "Fetched github followers"
no_unfollows_message = "No unfollows!"
end_message = "You have {follower_num} followers. Keep up the good work\\n"
thankyou_message = "Thanks for using this project"
[locale.english.regular]
welcome_message = ":dancer: [purple]Welcome to[/purple] [red]who-unfollowed-me[/red][blue] Python implementation[/blue] by [#FFD700]Zac the Wise[#FFD700]"
fetched_followers_message = "[green]✔ [underline]Fetched github followers"
last_week_unfollowers = "[purple]✔ [underline]Unfollowers from last week"
no_unfollows_message = "[green]:raised_hands: [underline]No unfollows!"
end_message = ":fire: You have {follower_num} followers. Keep up the good work\\n"
thankyou_message = ":pray: Thanks for using this project"
[locale.english.panels]
welcome_message = ":dancer: [purple]Welcome to[/purple] [red]who-unfollowed-me[/red][blue] Python implementation[/blue] by [#FFD700]Zac the Wise[#FFD700]"
fetched_followers_message = "[green]✔ [underline]Fetched github followers"
last_week_unfollowers = "[purple]✔ [underline]Unfollowers from last week"
no_unfollows_message = "[white on #308012] No unfollows! [/white on #308012]                                "
end_message = ":fire: You have {follower_num} followers. Keep up the good work\\n"
thankyou_message = ":pray: Thanks for using this project"
[locale.english.bubbles]
welcome_message_a = "[white on purple]Welcome to[/white on purple]"
welcome_message_b = "[white on red]who-unfollowed-me[/white on red]"
welcome_message_c = "[white on blue]the Python implementation[/white on blue]"
welcome_message_d = "[white on dark_goldenrod]by Zac the Wise[/white on dark_goldenrod]"
fetched_followers_message = "[white on cyan]Fetched github followers[/white on cyan]"
last_week_unfollowers = "[purple]✔ [underline]Unfollowers from last week"
no_unfollows_message = "[white on green4]No unfollows![/white on green4]"
end_message_a = "[white on purple]You have {follower_num} followers.[/white on purple]"
end_message_b = "[white on magenta]Keep up the good work![/white on magenta]"
thankyou_message = "[white on blue]Thanks for using this project[/white on blue]"
  1. Copy this to the bottom of the Toml section which is currently line 366. Change the word English in each heading to the english name of your language e.g. [locale.hindi.bubbles] or [locale.arabic.bubbles] etc
  2. Edit the text to be in your language
  3. Push the changes to your repo
  4. Open a pull request, name it Add [your language] translation #17
  5. Submit :)

@TechWiz-3
Copy link
Owner Author

If you need more specific git/github help lemme know 👍

@Lakhaninawaz
Copy link
Contributor

ok i try this one.

@ArchontisKostis
Copy link
Contributor

Hello team! I am from Greece and I can translate to greek!

@TechWiz-3
Copy link
Owner Author

it's a simple file format for configuration files :), so basically in this project, it allows you to convert your language, theme, emojis and text.

the current github repo version is ahead of the pip version at the moment, but i would highly recommend checking out the config file in action:

  1. pip install unfollow
  2. unfollow
  3. then open the file in an ide or text editor yourhomedir/.unfollow/unfollow.toml

@HridoyHazard
Copy link
Contributor

i can add bangla language kindly assign me

@HridoyHazard
Copy link
Contributor

#50

@Lakhaninawaz
Copy link
Contributor

I have added gujarati language. Assign me.

@Lakhaninawaz
Copy link
Contributor

How will my repo count in Hacktoberfest?

@TechWiz-3
Copy link
Owner Author

Wdym? 😅

@ArchontisKostis
Copy link
Contributor

How will my repo count in Hacktoberfest?

After your PR has been approved the team of hacktoberfest will review it and mark it as accepeted or not. This can take up to 7 days

@TechWiz-3
Copy link
Owner Author

Thanks for answering that @ArchontisKostis I didn't know that either 🙏

@Lakhaninawaz
Copy link
Contributor

Lakhaninawaz commented Oct 22, 2022 via email

@das-amit
Copy link
Contributor

Hey @TechWiz-3 , I would like add Assamese Translation/Support

@das-amit das-amit mentioned this issue Oct 26, 2022
8 tasks
@Vug6r
Copy link

Vug6r commented Aug 5, 2023

Hey! I can do Azerbaijani translation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests