l10n library

Localization support for Dunya country names.

Register only the locales your app needs:

import 'package:dunya/l10n.dart';

void main() {
  CountryLocalizations.register('ar', kCountryNamesAr);
  CountryLocalizations.register('es', kCountryNamesEs);
  runApp(MyApp());
}

Classes

CountryLocalizations
Localization registry for country names.

Constants

kCountryNamesAr → const Map<String, String>
Arabic country name translations.
kCountryNamesDe → const Map<String, String>
German country name translations.
kCountryNamesEs → const Map<String, String>
Spanish country name translations.
kCountryNamesFr → const Map<String, String>
French country name translations.
kCountryNamesHi → const Map<String, String>
Hindi country name translations.
kCountryNamesIt → const Map<String, String>
Italian country name translations.
kCountryNamesJa → const Map<String, String>
Japanese country name translations.
kCountryNamesKo → const Map<String, String>
Korean country name translations.
kCountryNamesPt → const Map<String, String>
Portuguese country name translations.
kCountryNamesRu → const Map<String, String>
Russian country name translations.
kCountryNamesTr → const Map<String, String>
Turkish country name translations.
kCountryNamesUr → const Map<String, String>
Urdu country name translations.
kCountryNamesZh → const Map<String, String>
Chinese (Simplified) country name translations.