in_app_purchases_intl 0.0.1 copy "in_app_purchases_intl: ^0.0.1" to clipboard
in_app_purchases_intl: ^0.0.1 copied to clipboard

outdated

Intl Package for common translations in your In App Purchase App

A Collection of common Paywall Strings #

This Project is a common translation package for the package intl

This a community project, please submit your strings and translations! :-)

Why? #

A paywall usually looks similar to others and the strings and translations are also the same.

Current Locales #

  • de
  • en

Usage #

Add PaywallLocalizations for your intl flutter delegate localizations

MaterialApp(
  // ...
  localizationsDelegates: [
    PaywallLocalizations.delegate,
    // ...
  ],
  // ...
);

Get your Strings with:

PaywallLocalizations.of(context)!.weekly
PaywallLocalizations.of(context)!.nweek(4)

Or be confident and use our helper class to avoid handling null-safety.

PaywallL10NHelper.of(context).weekly
PaywallL10NHelper.of(context).nweek(4)

String Extensions #

Capitalize a String Extension #

/// E.g. "hello world" will become "Hello world"
"hello world".toCapitalized()

Title Case a String Extension #

/// E.g. "hello world" will become "Hello World"
"hello world".toTitleCase()
2
likes
0
pub points
51%
popularity

Publisher

verified publisherlinkfive.io

Intl Package for common translations in your In App Purchase App

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on in_app_purchases_intl