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

Add translations #19

Open
9 tasks
shatanikmahanty opened this issue Oct 12, 2022 · 6 comments
Open
9 tasks

Add translations #19

shatanikmahanty opened this issue Oct 12, 2022 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers hactoberfest This label marks the involvement of entity with hacktoberfest Up for grabs This is available to be worked upon

Comments

@shatanikmahanty
Copy link
Member

shatanikmahanty commented Oct 12, 2022

To contribute to the localization of this project you can contribute in the following ways:

  • Add missing translations for a language
  • Add new languages

How to add missing translations?

  • Look for TODO tag beside a key for a language in \utils\app_translations.dart
  • Replace the TODO tag with the correct translation
  • Submit a PR for reviewing the translation

How to add new languages?

  • Create a new branch named localization_[lang_code]_[country_code]
  • Add a new language map similar to en_US in \utils\app_translations.dart and modify the values
  • Update code in \blocs\locale_bloc.dart to add language changer logic for the new logic
  • Add the new language to '\configs\config.dart`
  • Test the language changer by using the home screen dialog to see if the changes are working
  • Create a PR
@shatanikmahanty shatanikmahanty added enhancement New feature or request good first issue Good for newcomers hactoberfest This label marks the involvement of entity with hacktoberfest Up for grabs This is available to be worked upon labels Oct 12, 2022
@KrishnenduDG
Copy link

Can I be assigned this for the Hindi Language??

@shatanikmahanty
Copy link
Member Author

@CrazyCoder122 definitely. Go ahead.

@shatanikmahanty
Copy link
Member Author

@CrazyCoder122 unassigning you as you have already completed the part assigned to you. To contribute in future drop a comment in this issue. Happy contributing!

@KrishnenduDG
Copy link

Okkk Definitely ☺️☺️
It was a nice experience contributing to the ocyclient..

🔥🔥

@prashantSj789
Copy link
Contributor

I have added a Marathi translation please check

@shatanikmahanty
Copy link
Member Author

I have added a Marathi translation please check

Sure, please expect 3-4 days delays.

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 hactoberfest This label marks the involvement of entity with hacktoberfest Up for grabs This is available to be worked upon
Projects
None yet
Development

No branches or pull requests

3 participants