- feat: Add pluralizer functions for
ar
,fi
,fo
,nb
,no
,pl
,th
2019-06-06
- feat: Improve TypeScript definitions to warn about invalid keys
- feat: Add
translate.js/pluralize
module with named CJS exports and types - fix: Correct the return type for the
plurals.js
functions - refactor: Move all translation logic to reusable top-level functions.
This should make it much cheaper to instantiate hundreds of tiny translate.js instances.
2019-06-06
- fix: Don't translate differently in debug mode
2018-12-29
- fix: Transpile published ESM module to es5 syntax
2018-12-03
- fix: Lift TypeScript restriction on named replacement values
- fix: Drop support for second parameter for pluralizer functions (See commit)
2018-11-02
- fix: Missing
pluralize/*
files on npmjs.org
2018-10-24
- feat: Add
.d.ts
TypeScript type annotations (#66)
2018-09-27
- No changes. Minor dependency updates.
2018-09-20
- feat: Add
useKeyForMissingTranslation
option to returnundefined
for missing translations
2018-07-19
- No changes. Minor dependency updates.
2018-05-31
- fix: Publish CommonJS module in ES5 syntax (#48)
2018-05-04
- feat: Support default/"wild-card"
*
subkeys as fallback for missing subkey translations (#37)
2018-04-26
- [BREAKING] chore: Drop support for direct
<script>
loading in browsers. (Only provide ES6 module and CommonJs module.) - [BREAKING] chore: Convert the module to ES6 syntax.
- chore: Add Prettier auto-formatting and improved build and test scripts
2018-04-19
- feat: Support translation-keys written as inlined default translation (#40)
2017-03-09
- feat: Support
{{aliases[withSubkeys]}}
pattern (#33) - docs/tests: Improve documentation and test support
2017-01-05
- feat: Support
{{aliases}}
within translation keys via atranslatejs.resolveAliases
pre-parser (#31) - feat: Add a few more pluralizer functions (e60c7cf)
2016-10-26
- feat: Support translations with subkeys as strings, not just numerical
count
(#27) - docs/tests:Improve tests and documentation
2016-01-30
- refactor: Improve performance of
t.arr()
function (#22)
2016-01-29
- feat: Add support for inserting VDOM/JSX nodes into translation results via
t.arr()
(#21)
2016-01-29
- docs/style: Minor documentation changes and code-cleanup
2015-12-18
- style: Convert to Standard.js formatting
2015-12-18
- [BREAKING] Drop support for "namespaced" translation keys (#15)
2015-12-18
- chore: Badges!
2015-07-28
- refactor: Speed up replacement-key processing
2015-07-25
- refactor: Massive performance improvements
- feat: Expose as
window.translatejs
in browsers
2015-07-23
- refactor: Improve performance on simple strings
- [BREAKING] feat: Make default pluralization functions return
s
,p
instead of numerical tokens; - feat: Resolve all namespacing ambiguities by making literal translation keys highest priority
- tests: Add tests to clarify behavior
2015-06-17
- fix: Improve handling/logging of missing translation keys
- fix: Make explicit
count
keys override pluralization function result - feat: Add example pluralization functions (EN,IS)
- docs: Improved documentation
2015-06-17
- feat: Support custom pluralization functions (e66a590)
- style: Code cleanup
- Initial release based on an early version of musterknabe/translate.js