Skip to content

Experiment with the localization using from separate package

Notifications You must be signed in to change notification settings

deepak-agendaboa/package_localization

Repository files navigation

package_localization

Experiment with the localization used from separate package. This project contains some string which are translated already. It will use the localization based on your main project's (app) locale.

Getting Started

  • Add the package into your projects pubspec.yaml file:
dependencies:
  package_localization:
    git:
      url: https://github.com/deepak-agendaboa/packgae_localization
  • Add the delegate PackageLocalizations.delegate in localizationsDelegates of MaterialApp.
  • Navigate to PackageLocalizationDemo screen from your project. It will show you the localization based on the locale.

Demo

https://github.com/deepak-agendaboa/packgae_localization/blob/main/Screen%20Recording%202023-01-09%20at%203.29.33%20PM.mov

About

Experiment with the localization using from separate package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published