NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3487 most downloaded on pub.dev
Get the current language code and Locale of the device. Also includes almost the language codes with English names and native names.
Last release 4 months ago
25 May 2026
Release timing varies
gaps range from 1 weeks to 11 months
Nearly every release is documented
notes for 20 of 20 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
27 releases · first in 2023
One column per quarter.
Add support for additional language codes including Spanish (Latin America) and Punjabi (India).
StoreCode and StoreSupportedCodes for enhanced store language support.[BREAKING CHANGE]: Update LanguageCode.code to use resolveFromLocale.
resolveFromLocale and tryResolveFromLocale methods for flexible LanguageCodes retrieval from Locale.LanguageCode.code to use resolveFromLocale.Add a weekly crawler to update the database.
Update the crawler for the name breaking change.
name breaking change.englishName for nativeName if there is no native names.Update tests for the name breaking change.
name breaking change.[BREAKING CHANGE] The LanguageCodes.name is now return enum's name (default behavior of enum).
LanguageCodes.name is now return enum's name (default behavior of enum).Add nativeLatinName and nativeNonLatinName to LanguageCodes. All the old codes will use the inherit latinName and nonLatinName from it main code. Exam
nativeLatinName and nativeNonLatinName to LanguageCodes. All the old codes will use the inherit latinName and nonLatinName from it main code. Example: aa_DJ will use the latinName and nonLatinName from aa.nativeName to use the first parsed name (instead of preferred non-latin name).Improve the LanguageCode.rawLocale method to be able to test.
LanguageCode.rawLocale method to be able to test.New crawler script to fetch ISO 639-1 and ISO 639-2 codes from Wikipedia.
New crawler script to fetch ISO 639-1 and ISO 639-2 codes from Wikipedia.
non-Latin (Latin) format when available.enum LanguageCodes with all codes.LanguageCode.tryCode()
LanguageCodes with an optional defaultCode.rawLocale.rawLocale.languageCode.defaultCode (default: LanguageCodes.und).LanguageCode.rawCode → use rawLocale.toString() instead.Update ku locale native name (thanks @msonntag13).
ku locale native name (thanks @msonntag13).ckb, kmr, lki, prs & sdh locale entries (thanks @msonntag13).Return en_US locale if the device's locale is the standard C locale (C or POSIX).
en_US locale if the device's locale is the standard C locale (C or POSIX).Remove the version of Flutter environment.
- Add codecov badge.
Run dart format to improve the score.
Mark LanguageCode.rawCode as deprecated, use LanguageCode.rawLocale.toString() instead.
LanguageCode.rawCode as deprecated, use LanguageCode.rawLocale.toString() instead.Add language codes: pa_PK, sr_SP.
pa_PK, sr_SP.BREAKING CHANGE: Remove englishNames and nativeNames to reduce the complexity. We only have englishName and nativeName from now.
englishNames and nativeNames to reduce the complexity. We only have englishName and nativeName from now.fromEnglishName and fromNativeName return as Iterable from this version.LanguageCode.rawLocale to get the raw locale of the device.Add Spanish Argentina (Thanks @validcube).
Spanish Argentina (Thanks @validcube).Add : to nativeName parameter in comments.
Filipino (Thanks @Ushie).: to nativeName parameter in comments.BREAKING CHANGE NOTE: The method .fromEnglishName and .fromNativeName may be broken in this version because of those changes.
englishName and nativeName to reduce the complexity:
.fromEnglishName and .fromNativeName may be broken in this version because of those changes.- Update comments. - Update homepage URL.
Add englishName and nativeName to get the first value from englishNames and nativeNames.
englishName and nativeName to get the first value from englishNames and nativeNames.name back and returns englishName.Change from name to englishNames and returns a list of English names, the name was removed. Because it's a default value of enum so I have to change i
name to englishNames and returns a list of English names, the name was removed. Because it's a default value of enum so I have to change it to throw UnimplementedError.nativeName to nativeNames and returns a list of native names, nativeName was removed..fromName to .fromEnglishName.Change from using window to PlatformDispatcher.
window to PlatformDispatcher.Add LanguageCode.setTestCode to set a LanguageCodes for testing.
LanguageCode.setTestCode to set a LanguageCodes for testing.[BREAKING CHANGE] Rename from LanguageCode.code to LanguageCode.rawCode.
LanguageCodes, a pre-defined language code, name in English and name in Native for all the countries.LanguageCode.code to LanguageCode.rawCode.LanguageCode.code, this variable will return as LanguageCodes.- Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →