Skip to content

Commit

Permalink
GitBook: [i18next#203] No subject
Browse files Browse the repository at this point in the history
  • Loading branch information
jamuhl authored and gitbook-bot committed Mar 19, 2022
1 parent d422a0f commit 87a1bad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overview/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ i18next.dir('ar'); // -> "rtl";

`i18next.format(data, format, lng)`

_introduced in v8.4.0_
_introduced in v8.4.0 and legacy since v21.3.0_

Exposes `interpolation.format`t function added on init.

For formatting used in translation files checkout the [formatting doc](../translation-function/formatting.md).
For formatting used in translation files checkout the [formatting doc](../translation-function/formatting.md#legacy-format-function-i18next-less-than-21.3.0).

```javascript
// key = 'hello {{what}}'
Expand Down

0 comments on commit 87a1bad

Please sign in to comment.