Skip to content

Commit

Permalink
Merge pull request #2 from i18next/master
Browse files Browse the repository at this point in the history
[pull] master from i18next:master
  • Loading branch information
MarcelRaschke authored Feb 24, 2022
2 parents 62b6d57 + f2f72f1 commit 543beb1
Show file tree
Hide file tree
Showing 32 changed files with 3,169 additions and 1,044 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ tsconfig.nonEsModuleInterop.json
rollup.config.js
tslint.json
CHANGELOG.md
.github
.github
.husky
104 changes: 104 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,107 @@
## 21.6.12

- fix ordinal-suffixes for saveMissingWithPlurals [1734](https://github.com/i18next/i18next/pull/1734)

## 21.6.11

- make sure key and additionally optional defaultValue are passed to parseMissingKeyHandler function [1445](https://github.com/i18next/react-i18next/issues/1445)

## 21.6.10

- fix: types for hasLoadedNamespace [1724](https://github.com/i18next/i18next/pull/1724)

## 21.6.9

- fix: respect skipOnVariables option passed in t function also for $t() usage

## 21.6.8

- fix: respect skipOnVariables option passed in t function

## 21.6.7

- fix: consistently lowercase new formatter names internally

## 21.6.6

- fix: deepFind fallback when accessing missing flat dotted key [1719](https://github.com/i18next/i18next/issues/1719)

## 21.6.5

- fix: passed format parameter value truncation in options argument for custom formatter [1715](https://github.com/i18next/i18next/issues/1715)

## 21.6.4

- fix: skipOnVariables (and all other interpolation options should respect defaults) [1711](https://github.com/i18next/i18next/issues/1711)

## 21.6.3

- types: wait option does not exist anymore for react-i18next

## 21.6.2

- remove console.log statement

## 21.6.1

- fix when completely lazy loading namespaces [1709](https://github.com/i18next/i18next/issues/1709)

## 21.6.0

- add \_zero suffix lookup if count === 0 [1705](https://github.com/i18next/i18next/pull/1705)

## 21.5.6

- fix: correct defaults for plural forms (if supplied) [1703](https://github.com/i18next/i18next/issues/1703)

## 21.5.5

- fix: prevent TypeError when using `returnObjects: true` with non string values [1702](https://github.com/i18next/i18next/issues/1702)

## 21.5.4

- include version info in generated package.json of esm dist

## 21.5.3

- do not use options.interpolation reference

## 21.5.2

- missing named exports for TypeScript usage [1692](https://github.com/i18next/i18next/issues/1692)

## 21.5.1

- add package.json to exports subpath

## 21.5.0

- named exports for esm usage [1681](https://github.com/i18next/i18next/pull/1681)

## 21.4.2

- trim multiple formatters, fixes [1689](https://github.com/i18next/i18next/issues/1689)

## 21.4.1

- rtl fix for -arab language codes

## 21.4.0

- bind all i18next functions to this, this way you can for example just use t() instead of i18n.t() [1682](https://github.com/i18next/i18next/issues/1682)

## 21.3.3

- apply default interpolation formatter when interpolation options don't specify one [1680](https://github.com/i18next/i18next/issues/1680)

## 21.3.2

- formatter typescript declarations [1679](https://github.com/i18next/i18next/pull/1679)

## 21.3.1

- get rid of internal isDummy check to prevent react-native issue [1675](https://github.com/i18next/i18next/issues/1675)

## 21.3.0

- adds support for formats provided by Intl API (number, currency, datetime, relativedate, list)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 i18next
Copyright (c) 2022 i18next

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
[![CircleCI](https://circleci.com/gh/i18next/i18next.svg?style=svg)](https://circleci.com/gh/i18next/i18next)
[![Code Climate](https://codeclimate.com/github/codeclimate/codeclimate/badges/gpa.svg)](https://codeclimate.com/github/i18next/i18next)
[![Coveralls](https://img.shields.io/coveralls/i18next/i18next/master.svg?style=flat-square)](https://coveralls.io/github/i18next/i18next)
[![Package Quality](http://npm.packagequality.com/shield/i18next.svg)](http://packagequality.com/#?package=i18next)
[![Package Quality](https://packagequality.com/shield/i18next.svg)](https://packagequality.com/#?package=i18next)
[![cdnjs version](https://img.shields.io/cdnjs/v/i18next.svg?style=flat-square)](https://cdnjs.com/libraries/i18next)
[![npm version](https://img.shields.io/npm/v/i18next.svg?style=flat-square)](https://www.npmjs.com/package/i18next)
[![David](https://img.shields.io/david/i18next/i18next.svg?style=flat-square)](https://david-dm.org/i18next/i18next)

i18next is a very popular internationalization framework for browser or any other javascript environment (eg. Node.js, Deno).

Expand All @@ -31,6 +30,12 @@ For more information visit the website:

Our focus is providing the core to building a booming ecosystem. Independent of the building blocks you choose, be it react, angular or even good old jquery proper translation capabilities are just [one step away](https://www.i18next.com/overview/supported-frameworks).

### Documentation

The general i18next documentation is published on [www.i18next.com](https://www.i18next.com) and PR changes can be supplied [here](https://github.com/i18next/i18next-gitbook).

The react specific documentation is published on [react.i18next.com](https://react.i18next.com) and PR changes can be supplied [here](https://github.com/i18next/react-i18next-gitbook).

---

<h3 align="center">Gold Sponsors</h3>
Expand All @@ -49,6 +54,6 @@ A translation management system built around the i18next ecosystem - [locize.com

![locize](https://locize.com/img/ads/github_locize.png)

With using [locize](http://locize.com/?utm_source=i18next_readme&utm_medium=github) you directly support the future of i18next.
With using [locize](https://locize.com/?utm_source=i18next_readme&utm_medium=github) you directly support the future of i18next.

---
Loading

0 comments on commit 543beb1

Please sign in to comment.