nativemind_translations
Extra languages for nativemind_core and nativemind_copilot: af, ar, az, bn, de, es, fr, ha, he, ig, it, ja, km,
ko, lo, ms, my, pt, sw, tg, uk, yo, zu. The base five (en, ru, th, hi, zh) ship with the packages themselves.
void main() {
NmTranslations.install();
runApp(const MyApp());
}
Strings a language does not translate read English. The copilot strings added in copilot 0.2.0 (on-device models, attachments, voice) are not translated yet.
NmLocalizationService
Wishyut's run-time string service (VPNclient-app, 2025; see PROVENANCE.md). It lives in nativemind_core (1.1.0) and
this package re-exports it, so either import works: await NmLocalizationService.load(locale)
reads packages/nativemind_vpn/assets/lang/<code>.json (English when the file is missing; package: null reads the
app's own assets/lang/), then NmLocalizationService.to('key') returns the string ([key] when missing).
nativemind_vpn calls load from its localizations delegate.
The copilot strings were machine-translated (October 2026). A review by native speakers is pending. Fixes go into
arb/<lib>/*.arb; then run dart run tool/build_translations.dart.
Upgrading from 0.1: doc/migration-1.0.md.
Install
dependencies:
nativemind_translations: ^1.0.0 # brings nativemind_core ^1.1.0 and nativemind_copilot ^1.0.0
Note: through nativemind_copilot this package brings the flutter_llama plugin. An app that only needs
NmLocalizationService should import it from nativemind_core instead.
Authors
The 23 language files are machine translations (October 2026, review by native speakers pending) and the classes are
generated (tool/build_translations.dart): 0 % handmade in this package. The re-exported NmLocalizationService is
handmade code of Wishyut (front-end developer and team lead of the TH branch, VPNclient-app 2025, without AI); it
lives in nativemind_core (PROVENANCE.md).
Links
- pub.dev: nativemind_translations · publisher framework.nativemind.net
- Source: gitlab.com/nativemind/widgets.nativemind.net,
flutter/nativemind_translations - CHANGELOG.md · PROVENANCE.md · NOTICE
License
NativeMindNONC (see LICENSE), as the whole NativeMind framework.
Libraries
- nativemind_translations
- Extra languages for nativemind_core and nativemind_copilot beyond the base five (en, ru, th, hi, zh).