- Custom contextSeparator fix #1008
- Remove VueLexer #1007 #617
- Fix t func in options #994 #779
- Output the files in which a string is found in customValueTemplate #970
- Fix babel dependency #976 #975
- Update dependencies
- Fix --fail-on-update false negatives from new sort code #957 #955
- Update dependencies
- Fix a bug where keepRemoved wasn't failing when the catalog get sorted #926 #932
- Fix a bug where keepRemoved option makes the failOnUpdate fails without any update #948 #666
- Update dependencies
- Make tests work on Windows with non-English locale #931
- Update dependencies
- Handle attribute spreads #909 #908
- Fix index.d.ts #919
- Suppress warning about non-literal child when key/defaults are specified #900 #899
- Support custom namespaced functions and components #913 #912
- Update dependencies
- Add missing componentFunctions properties to JsxLexerConfig types #891 #842
- Fix unescape logic, expression props, and ICU format for Trans component #892 #886
- Update dependencies
- Emit warning on non-literal content inside of Trans #881
- Update dependencies
- Improve warnings #805
- Remove unused dependencies #877
- Update dependencies
- Fix extracting Trans component without key, but with default value #871 #249
- FIX type error in index.d.ts #873 #868
- Update dependencies
- Allow ignoring typecheck-helper functions around Trans tag variables #863
- Skip extracting dynamic children in Trans components #862
- Extract format parameter from Trans component interpolations #861
- Update dependencies
- Add support for patterns in the
keepRemoved
option #693 #700 - Improve namespace extraction from hook/HOC #854
- Update dependencies
- Allow to disable plural handling #825 #463
- Update dependencies
- Drop support for node 14
- Add support for node 20
- Add support for string concatenation in default values #817
- Update dependencies
- Add support for user-defined component functions #803 #804
- Update dependencies
- Added missing types property to package.json #774 #775
- Update dependencies
- Fix a bug: typeArguments may be undefined #764 #765
- Update dependencies
- Add type declaration to the build #694 #695
- Fix esm import in cjs project #761
- Update dependencies
- Parse namespace from t type arguments #703 #701
- Extract namespace for render prop #702 #691
- Updae dependencies
- Allow for .mjs as a config file extension #733 #708
- Update dependencies
- Fix config loading on Windows #725 #698
- Update dependencies
- Fix a bug when using the cli and passing no config file #690
- Update dependencies
- BREAKING: change the API for
defaultValue
. DeprecateskipDefaultValues
anduseKeysAsDefaultValues
options. #676 - Add support for
shouldUnescape
option in jsx-lexer #678 - Add support for .ts, .json and .yaml config #673
- Update dependencies
- Support custom yaml output options #626
- Do not fail on JSX spread attribute in Trans component #637
- Support TypeScript typecasts #604
- Add LICENSE.md
- Update dependencies
- Fix: coverage testing #586
- Fix: reset nested keys if default value is changed #582
- Update dependencies
- Fix a bug that was resetting a namespace when given an empty key #502
- Support keyPrefix of useTranslation hook #485 #486
- Fix stats of files added, removed and unique keys #546 #498 #489
- Add a
namespaceFunction
option to the Javascrip Lexer #512
- BREAKING: Drop support for Node 12
- BREAKING: Drop support for Node 13, 15. Add support for Node 18.
- BREAKING: This package is now pure ESM
- Update dependencies
- Set colors dependency to 1.4.0 #503
- Add i18nextOptions option to generate v3 plurals #462
- Update dependencies
- Add resetDefaultValueLocale option #451
- Update dependencies
- Typescript: Parse type details #457 #454
- Add fail-on-update option #471
- BREAKING: Format Json output conforming to i18next JSON v4 (see: https://www.i18next.com/misc/json-format) #423
- BREAKING:
sort
option as a function has changed signature #437 - Support sorting of plural keys in JSON v4 #437
- Support regex token character for
pluralSeparator
option #437
- Add template literal support for defaultValue as a second argument #419 #420
- Update dependencies
- CLI
silent
option is now fully silent #417 sort
option can now take a function #418
- Add support for array argument for useTranslation #389 #305
- Escape non-printable Unicode characters #413 #361
- Update dependencies
- Revert #361 #362
- Update dependencies
- Extract tagged templates in js and jsx lexers #376 #381
- Support unicode escape sequence in json #361 #362
- Update dependencies
- Improve warning for missing defaults #332
- Improve support for spread operator in JS #199
- Drop support for Node 10
- Update all dependencies
- Fix an error that was causing empty namespace catalogs to be created as
""
instead of{}
#273
- Add a pluralSeparator option #300 #302
- defaultValue, useKeysAsDefaultValue and skipDefaultValues options support function #224 #299 #301
- Update to babel 7 #298
- Fix cli that wasn't running #295 #296
- Update dependencies
- Improve handling of string literals #261
- Fix a conflict in jsx lexer #254
- Stop trying to parse directories #252
- Support multiline output in YAML #251
- Fix bug with unicode escape sequences #227
- Fix customValueTemplate interpolation of ${key} #242
- Extract options as third parameter when second parameter is default value string #243 #241
- Fix defaultValue for plural forms #240 #212
- Parse default value from 'defaults' prop in Trans #238 #231 #206
- Fix mergeHashes keepRemoved option #237
- Add a
failOnWarnings
option and improve cli output #236
reactNamespace
option is gone #235
- Fix namespace parsing #233 #161
- Support unknow languages #230
- Support curly braces in jsx Trans elements #229
- Extract translation from comment in jsx #166 #223
- Support multiline literals #83
- Parse comments in js #215
- Drop support for node 6 and 8 (EOL) #208
- Add support for
withTranslation
- Add support for
customValueTemplate
#211 - Add Prettier
- Add support for the
skipDefaultValues
option #216
- Revert support for node 6+
- Add support for custom lexers #213
- Fix CLI error obfuscation #193
- Drop Node 8 support #208
- Update dependencies
- The changelog for the beta can be found in the releases
- Support
defaultValue
option along the translation key (#68)
- Support
prefix
,suffix
andextension
option on the CLI (#60)
- Add a new line at the end of file generated by the CLI (#54)
- Update dependencies
- Does not parse values from function that ends with a t (PR #52)
- Add option to silence the variable errors (PR #47)
- Support for passing a context via an object (PR #49)
- Handle strings with newlines, tabs and backslashes in them (PR #42)
- Fix the regex introduced in 0.8.1 that was throwing unexpected errors (for good)
- Fix the regex introduced in 0.8.1 that was throwing unexpected errors
- Throw an error when the translation function use a variable instead of a string
- Add --attributes option (cli & gulp)
- Add --keep-removed option (cli & gulp)
- Allow writeOld to be disable (cli)
- Add support for ES6 template strings:
- Add prefix, suffix and extension options (closes #31)
- Add writeOld option
- Add support for multiline array in catalog (fix #26)
- Fix the cli (fix #24)
- Transfer repository to i18next organization (fix #15)
- Fix the output path when using the cli (fix #22)
- Handle escaped quotes in translation keys (fix #21)
- Trailing separator in translation keys wasn't handled properly (fix #20)
- The translation key should be the first truthy match of the regex (fix #18)
- Improve support for
data-i18n
attributes in html
- Add support for context
- Add support for
data-i18n
attributes in html
- Improve parser (0.1.11)
- [cli] namespace and key separator option (0.1.10)
- Add namespace and key separator options (0.1.9)
- Add support for plural keys (0.1.8)
- Catch JSON parsing errors (0.1.8)
- Improve the events emitted by the stream transform (0.1.7)
- [cli] Make sure input and output directory exist (0.1.6)
- [cli] Improve output (0.1.6)
- Fix #1 (0.1.5)
- Fix the regex to exclude functions that would end with
_t()
(0.1.4)