TechWiz-3 / who-unfollowed-me

😑 Python CLI tool that shows you who has unfollowed you on GitHub. PRs welcome!
GNU General Public License v3.0
11 stars 24 forks source link

Translations for different languages in the config file #17

Open TechWiz-3 opened 2 years ago

TechWiz-3 commented 2 years ago

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:

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

rexdivakar commented 2 years ago

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

TechWiz-3 commented 2 years ago

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 commented 2 years ago

One thing at a time tho πŸ˜†

ShivanshDengla commented 2 years ago

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 commented 2 years ago

Perfect, I'll check it out and let you know πŸ‘

IamMU commented 2 years ago

I can do german translation

kat-kan commented 2 years ago

I can do Polish translation if you want :)

TechWiz-3 commented 2 years ago

Great :))

ethmtrgt commented 2 years ago

Hello, I can do Turkish translation.

TechWiz-3 commented 2 years ago

Perfect

shubham7668 commented 2 years ago

Perfect

Hey @TechWiz-3 i have added french language support Kindly check and review https://github.com/TechWiz-3/who-unfollowed-me/pull/23

TechWiz-3 commented 2 years ago

Merci becoup 🀣

shubham7668 commented 2 years ago

Merci becoup 🀣

C'est mon plaisir πŸ€—

rexdivakar commented 2 years ago

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

Sir1Code commented 2 years ago

I'd love to make a Hebrew translation :)

TechWiz-3 commented 2 years ago

sure πŸ‘

chrisli-03 commented 2 years ago

i can translate to Chinese

TechWiz-3 commented 2 years ago

Go ahead :)

Lakhaninawaz commented 2 years ago

Go ahead :)

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

TechWiz-3 commented 2 years ago

Sure man are you familiar with git?

Lakhaninawaz commented 2 years ago

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

TechWiz-3 commented 2 years ago
  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]"


5. 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
6. Edit the text to be in your language
7. Push the changes to your repo
8. Open a pull request, name it `Add [your language] translation #17`
9. Submit :)
TechWiz-3 commented 2 years ago

If you need more specific git/github help lemme know πŸ‘

Lakhaninawaz commented 2 years ago

ok i try this one.

ArchontisKostis commented 2 years ago

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

TechWiz-3 commented 2 years ago

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 commented 2 years ago

i can add bangla language kindly assign me

HridoyHazard commented 2 years ago

50

Lakhaninawaz commented 2 years ago

I have added gujarati language. Assign me.

Lakhaninawaz commented 2 years ago

How will my repo count in Hacktoberfest?

TechWiz-3 commented 2 years ago

Wdym? πŸ˜…

ArchontisKostis commented 2 years ago

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 commented 2 years ago

Thanks for answering that @ArchontisKostis I didn't know that either πŸ™

Lakhaninawaz commented 2 years ago

Ok thnx for answering my questionπŸ‘

On Fri, 21 Oct 2022, 5:46 pm Archontis Kostis, @.***> wrote:

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

β€” Reply to this email directly, view it on GitHub https://github.com/TechWiz-3/who-unfollowed-me/issues/17#issuecomment-1286883291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULT43BVFUYTV7RWL4JQN7TWEKCQ3ANCNFSM6AAAAAARAPKBZY . You are receiving this because you commented.Message ID: @.***>

das-amit commented 2 years ago

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

Vug6r commented 1 year ago

Hey! I can do Azerbaijani translation