Skip to content

Releases: fabscale/ember-gettext

Release 0.10.0

27 Sep 10:51
Compare
Choose a tag to compare

πŸš€ Enhancement

  • ember-l10n, gettext-parser

🏠 Internal

Committers: 1

Release 0.9.0

27 Jun 10:56
Compare
Choose a tag to compare

πŸš€ Enhancement

  • ember-l10n
    • #163 feat: Ensure we support setting sub-locales of defined locales (@mydea)

πŸ“ Documentation

  • ember-l10n
    • #164 Add documentation for sub-locales & assert for usage of underlines (@mydea)

🏠 Internal

Committers: 1

Release 0.8.1

26 Nov 08:04
Compare
Choose a tag to compare

πŸš€ Enhancement

  • ember-l10n
    • #92 Do not auto-generate empty en.json file, but assert instead (@mydea)

πŸ› Bug Fix

  • ember-l10n
    • #91 Ensure default blueprint runs on ember install (@mydea)

Committers: 1

Release 0.8.0

26 Nov 07:39
Compare
Choose a tag to compare

πŸ’₯ Breaking Change

  • ember-l10n, gettext-parser
    • #90 Update locale import to be more Embroider compatible (@mydea)

πŸš€ Enhancement

  • ember-l10n, gettext-parser
    • #90 Update locale import to be more Embroider compatible (@mydea)

Updating from 0.7.0

When updating, follow these steps:

  • Create new one-time boilerplate: ember generate ember-l10n
  • Re-create all locale files: ember gettext:convert (manually delete files at translations/*.json, the translations folder should not contain json files anymore).
  • Add locales directory to staticPaths:
// in ember-cli-build.js, at the end of file
return require('@embroider/compat').compatBuild(app, Webpack, {
  // Ensure `locales` are considered static & lazy loaded
  staticAppPaths: ['locales'],
});

Embroider optimized

The new build process is optimized for Embroider. Since it is less "magic" now, and all the locale loading stuff now lives in the host app, it should also be possible to make it work in classic builds, by changing the auto-generated locale import map. However, the "happy" path is now embroider centric.

Committers: 1

Release 0.7.0

02 Nov 14:21
Compare
Choose a tag to compare

🏠 Internal

  • gettext-parser
  • ember-l10n
  • ember-l10n, gettext-parser
    • #75 Fix canary builds by adding ember-auto-import dev dependency (@mydea)
    • #64 chore(deps-dev): bump ember-cli from 3.27.0 to 3.28.0 (@dependabot[bot])

Committers: 1

Release 0.6.0

20 Aug 07:38
Compare
Choose a tag to compare

🏠 Internal

  • ember-l10n
    • #63 chore(deps): bump @ember/test-waiters from 2.4.5 to 3.0.0 (@mydea)
  • gettext-parser

Committers: 1

Release 0.5.0

03 Aug 11:57
Compare
Choose a tag to compare

πŸš€ Enhancement

  • ember-l10n
    • #47 feat: Cache locale data to avoid repeated fetches (@mydea)

🏠 Internal

Committers: 1

Release 0.4.0

13 Jul 06:36
Compare
Choose a tag to compare

πŸ’₯ Breaking Change

  • ember-l10n
    • #46 feat: Use canonical region locale names (e.g. en-US instead of en_US) (@mydea)
  • gettext-parser
    • #45 feat: Remove charset from JSON & only keep minimal headers (@mydea)
  • ember-l10n, gettext-parser
    • #44 Use Intl.PluralRules() instead of regex for plural-forms header (@mydea)

πŸš€ Enhancement

  • ember-l10n
    • #46 feat: Use canonical region locale names (e.g. en-US instead of en_US) (@mydea)
  • gettext-parser
    • #45 feat: Remove charset from JSON & only keep minimal headers (@mydea)
  • ember-l10n, gettext-parser
    • #44 Use Intl.PluralRules() instead of regex for plural-forms header (@mydea)

πŸ› Bug Fix

  • ember-l10n
    • #43 fix: Ensure document lang setting is properly ignored on fastboot (@mydea)

Committers: 1

Release 0.3.4

02 Jul 08:01
Compare
Choose a tag to compare

🏠 Internal

Committers: 1

Release 0.3.3

20 May 12:07
Compare
Choose a tag to compare

πŸš€ Enhancement

  • ember-l10n
    • #11 Set lang attribute on HTML tag (@mydea)

πŸ› Bug Fix

  • ember-l10n
    • #12 Ensure asset map creation works for embroider (@mydea)

Committers: 1