Skip to content
pubscout

language_info_plus

1.1.0, released a year ago by softable.me

Provides a static list of world languages with ISO‑639‑1 codes and optional localized names.

WASM-ready
$ flutter pub add language_info_plus
Source repository

What it does

The package ships with a comprehensive collection of languages, their English names and ISO‑639‑1 codes. It can optionally load locale‑specific language names so apps can display language names in the device's language.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a ready‑made list of languages for a language selector or settings screen
  • You want to show language names in the user's locale without building your own translation files

Skip it when

  • You need full i18n support for app strings (use intl or slang)
  • You require dynamic updates or custom language data

Strengths

  • Comprehensive built‑in language data
  • Simple static API, no platform setup
  • Optional localized names loaded at runtime

Weaknesses

  • Only provides language metadata, not full translation support
  • Localized names require an explicit initialization step
  • No code generation or advanced i18n features

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:language_info_plus/language_info_plus.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await initializeLanguage();
  List<Language> languages = LanguageInfoPlus.languages;
  print('Total languages: ${languages.length}');
  Locale deviceLocale = LanguageInfoPlus.deviceLocale;
  print('Device Locale: $deviceLocale');
  Language deviceLanguage = LanguageInfoPlus.deviceLanguage;
  print('Device Language: ${deviceLanguage.name}');
}

Alternatives

Packages that do the same job and could replace language_info_plus.