nativemind_translations 1.0.2
nativemind_translations: ^1.0.2 copied to clipboard
Extra languages for nativemind_core and nativemind_copilot; re-exports NmLocalizationService (run-time JSON strings) of nativemind_core.
1.0.2 #
- pubspec:
repositoryfield so README links resolve on pub.dev.
1.0.1 #
- Fix: 1.0.0 did not compile with
nativemind_core1.2.0 (pub picks it for^1.1.0) — the 23 language classes lacked the 9 newNmLocalizations.dialog*getters. Classes regenerated withtool/build_translations.dart(the new strings read English until translated); requiresnativemind_core^1.2.0. - Docs: README (authors, install, links).
1.0.0 #
Major release of the NativeMind framework (SDD flows/sdd-widgets-handmade, task 3.2). Guide: doc/migration-1.0.md.
- New: re-exports
NmLocalizationServiceofnativemind_core1.1.0 — Wishyut'sLocalizationService(VPNclient-app, 2025, handmade, without AI) with his API (load,to,currentLocale): strings at run time fromassets/lang/<code>.json, English file as the fallback. Fixes: the files of a package load frompackages/<package>/(optionalpackage, defaultnativemind_vpn;null= the app's own files), andcurrentLocalereads English beforeloadinstead of throwing. The class lives in core (localization infrastructure), sonativemind_vpndoes not need this package (nornativemind_copilotand its plugin); importing it from here works the same. - Requires
nativemind_core^1.1.0 andnativemind_copilot^1.0.0; the copilot classes are rebuilt for copilot 1.0 (0.1.0 did not compile against copilot 0.2). The 40 copilot strings added in 0.2.0 read English until translated. - Removed the unused
flutter_localizationsdependency. tool/build_translations.dartformats only the generated classes.- License: NativeMindNONC (part of the NativeMind framework).
0.1.0 #
- 23 extra languages for nativemind_core (moved from nativemind_widgets; partial, English for the rest) and for nativemind_copilot (all 168 strings; machine translation, native-speaker review pending).
NmTranslations.install()registers them withNmLocaleRegistry; it is idempotent.tool/build_translations.dartbuilds the classes fromarb/and the base packages' English templates.