Skip to content

Releases: sveltekit-i18n/base

1.3.7

02 Nov 21:09
22a487c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.6...1.3.7

1.3.6

03 Oct 23:04
2c2c0c0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.5...1.3.6

1.3.5

13 Jul 15:58
d4f3fba
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.4...1.3.5

1.3.4

12 Jul 22:05
Compare
Choose a tag to compare

What's Changed

  • This version contains README.md update.

Full Changelog: 1.3.3...1.3.4

1.3.3

09 Jul 23:58
Compare
Choose a tag to compare

What's Changed

  • This version removes unused typescript declarations from build.

Full Changelog: 1.3.2...1.3.3

1.3.2

09 Jul 23:12
Compare
Choose a tag to compare

What's Changed

  • This version fixes CommonJS build

Full Changelog: 1.3.1...1.3.2

1.3.1

08 Jul 20:37
Compare
Choose a tag to compare

What's Changed

  • This version improves warning messages.

Full Changelog: 1.3.0...1.3.1

1.3.0

07 Jul 22:10
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.1...1.3.0

1.2.1

01 May 10:51
Compare
Choose a tag to compare

What's Changed

  • Added fallback to config.fallbackLocale for unknown locales by @jarda-svoboda in #7

Full Changelog: 1.2.0...1.2.1

1.2.0

16 Apr 13:15
Compare
Choose a tag to compare

What's Changed

  • config.debug has been replaced by config.log object:
const config = {
  // ...your config...
  log: {
    logger: console, // you can use custom loggers => { error: errorHandler, warn: warnHandler, debug: debugHandler }
    level: 'warn', // 'error' | 'warn' | 'debug'
    prefix: '[i18n]: ', // avoid by '' (empty string)
  }
}
  • Added config.fallbackValue. By default translation key is returned when no translations have been found for given translation key. You can override it using this parameter like so:
const config = {
  // ...your config...
  fallbackValue: undefined, // this will return `undefined` instead of unknown translation key...
}

Full Changelog: 1.1.3...1.2.0