setLocalizations abstract method

Future<bool> setLocalizations(
  1. Locale locale,
  2. Map<String, dynamic> localizations
)

Set localization mapping for the specified locale.

Locale json is named according to the locale languageCode. For example, the Danish translation is named da

Returns true if successful, false otherwise.

Implementation

Future<bool> setLocalizations(
    Locale locale, Map<String, dynamic> localizations);