Skip to content

Make it easier to call localization functions #10

Description

@ibrahim-mubarak

We need to do the following

  • Expose global tr and pl functions for translate and pluralize.
  • Don't require context for calling Localization functions.

To do away with needing BuildContext for localization, we should set the BuildContext through the page mixin. We also need to create a mixin which should be used when displaying static content.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions