hasLocale method

bool hasLocale(
  1. String targetLocale
)

Returns true if a catalog is registered or currently loaded for targetLocale.

Implementation

bool hasLocale(String targetLocale) => getCatalog(targetLocale) != null;