Skip to content

Commit

Permalink
docs: add link to pluralization docs (#8543)
Browse files Browse the repository at this point in the history
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
  • Loading branch information
homotechsual and slorber committed Jan 20, 2023
1 parent c32316e commit c2352a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/docusaurus-core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,12 @@ You can even omit the children prop and specify a translation string in your `co

:::

:::info

The `<Translate>` component supports interpolation. You can also implement [string pluralization](https://github.com/facebook/docusaurus/pull/i18n/i18n-tutorial.mdx#pluralization) through some custom code and the [`translate` imperative API](#translate-imperative).

:::

## Hooks {#hooks}

### `useDocusaurusContext` {#useDocusaurusContext}
Expand Down

0 comments on commit c2352a3

Please sign in to comment.