ocyclient icon indicating copy to clipboard operation
ocyclient copied to clipboard

Add translations

Open shatanikmahanty opened this issue 2 years ago • 6 comments

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 avatar Oct 12 '22 04:10 shatanikmahanty

Can I be assigned this for the Hindi Language??

KrishnenduDG avatar Oct 19 '22 05:10 KrishnenduDG

@Crazycoder122 definitely. Go ahead.

shatanikmahanty avatar Oct 19 '22 05:10 shatanikmahanty

@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!

shatanikmahanty avatar Oct 21 '22 16:10 shatanikmahanty

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

🔥🔥

KrishnenduDG avatar Oct 21 '22 17:10 KrishnenduDG

I have added a Marathi translation please check

prashantSj789 avatar Oct 01 '23 13:10 prashantSj789

I have added a Marathi translation please check

Sure, please expect 3-4 days delays.

shatanikmahanty avatar Oct 02 '23 04:10 shatanikmahanty