Skip to content

Make it easier to call localization functions #10

@ibrahim-mubarak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions