Skip to content

Releases: slang-i18n/slang

v3.18.0

01 Jun 01:47
1e41b35
Compare
Choose a tag to compare
  • feat: add slang edit to move or delete translations over all locales
  • fix: avoid infinite loop of symlinks

v3.17.0

01 Jun 01:31
b549abf
Compare
Choose a tag to compare
  • 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

01 Jun 01:31
0af2262
Compare
Choose a tag to compare
  • fix: handle dynamic keys when fallback_strategy: base_locale is used

v3.16.1

13 Apr 19:00
05bf3f2
Compare
Choose a tag to compare
  • fix: handle interpolation when obfuscation is enabled

v3.16.0

13 Apr 00:49
360edf2
Compare
Choose a tag to compare
  • feat: add obfuscation config to obfuscate translation strings

v3.15.1

10 Apr 13:08
7dfdfdd
Compare
Choose a tag to compare
  • fix: slang analyze with --full should find invocations written in multiple lines

v3.15.0

29 Mar 22:29
66f51ed
Compare
Choose a tag to compare
  • 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

14 Mar 00:38
babedc7
Compare
Choose a tag to compare
  • 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

25 Feb 01:54
a488db0
Compare
Choose a tag to compare
  • feat: generated files from analyze and apply have \n at the end of the file

v3.12.0

13 Feb 00:44
0a339eb
Compare
Choose a tag to compare
  • 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