Releases: slang-i18n/slang
Releases · slang-i18n/slang
v3.18.0
- feat: add
slang edit
to move
or delete
translations over all locales
- fix: avoid infinite loop of symlinks
v3.17.0
- fix: setLocale does not work when Locale enum is from two packages (by @fzyzcjy)
- fix:
slang outdated
should skip missing translations instead of throwing an error
v3.16.2
- fix: handle dynamic keys when
fallback_strategy: base_locale
is used
v3.16.1
- fix: handle interpolation when obfuscation is enabled
v3.16.0
- feat: add
obfuscation
config to obfuscate translation strings
v3.15.1
- fix:
slang analyze
with --full
should find invocations written in multiple lines
v3.15.0
- feat: add
OUTDATED
modifier to flag translations as outdated (slang analyze
will treat them as missing)
- feat: run
flutter pub run slang outdated my.key.path
to flag translations as outdated
- feat:
slang apply
prefers modifiers from base locale over secondary locales
v3.14.0
- feat:
LocaleSettings.useDeviceLocale
listens to device locale changes
- feat:
flutter pub run slang apply
only applies changed locales by default
- fix: locale selection with script code (e.g.
zh-Hant-TW
uses zh-TW
instead of zh-HK
)
v3.13.0
- feat: generated files from
analyze
and apply
have \n
at the end of the file
v3.12.0
- feat: mixins generated by the interface feature have
==
and hashCode
overrides
- feat:
flutter pub run slang apply
respects the order in the base locale instead of simply add the new translations to the end
- feat:
flutter pub run slang analyze
have --split-missing
and --split-unused
(in addition to --split
) so only one of both can be a single file