mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
docs: add link to pluralization docs (#8543)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
This commit is contained in:
parent
c32316eb2b
commit
c2352a387e
1 changed files with 6 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue