Skip to content

Add translations #19

@shatanikmahanty

Description

@shatanikmahanty

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Up for grabsThis is available to be worked uponenhancementNew feature or requestgood first issueGood for newcomershactoberfestThis label marks the involvement of entity with hacktoberfest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions