colaxy_localization 0.2.0
colaxy_localization: ^0.2.0 copied to clipboard
Generates Fastlane store metadata and native iOS/Android app-name resources from a single set of per-locale JSON files.
0.2.0 #
Breaking #
LocaleApp.getLocaleUnitstakes amainLocaleargument (defaulten-US) instead of hardcoding it.LocaleAppandLocaleUnittake arootPath, so they can target a project other than the current working directory.- Failures now throw
StateErrorwith a message naming the locale, key or file at fault, rather thanExceptionor a bare null-check error.
Fixed #
LocaleApp.getLocaleAppsreturned a list of identicalconst LocaleApp()values, discarding the directories it had just scanned.- Unmapped locales produced a bare "Null check operator used on a null value"; they now name the locale and list the supported ones.
- The App Store keyword check is case-insensitive and matches whole words, so
iOSis caught andradiosis not rejected. - A malformed
Info.plistfails the run instead of being logged and ignored. fitLocaleupdates only theapp_nameentry instrings.xml. The file was overwritten wholesale, dropping every other string resource in it.updateManifestAppNameno longer strips every comment fromAndroidManifest.xml.- Store length limits count grapheme clusters, so an emoji or combining sequence no longer inflates the count.
Added #
bin/gen.dartaccepts--root,--main-localeand--help.AndroidNameLocalizationandIOSNameLocalizationaccept arootPath, so they can target a project other than the current working directory.
0.1.0+2 #
- FIX: resolve crash risks and stale state issues found in code review.
- FIX: move package to monorepo.
0.1.0+1 #
- FIX: move package to monorepo.
0.1.0 #
- Fix some bugs.
0.0.2 #
- Add languages support.
0.0.1 #
- Initial release.