diff --git a/docs/i18n/chinese/how-to-translate-the-website.md b/docs/i18n/chinese/how-to-translate-the-website.md index a783a75cd8..9cd7bb8559 100644 --- a/docs/i18n/chinese/how-to-translate-the-website.md +++ b/docs/i18n/chinese/how-to-translate-the-website.md @@ -101,7 +101,7 @@ const username = 'moT'; The above example passes an object to the `t` function with a `username` variable. The variable will be used in the JSON value where `{{username}}` is. -## Translate with the \ Component +## Translate with the `Trans` Component The general rule is to use the "t" function when you can. But there's a `Trans` component for when that isn't enough, usually when you have elements embedded in the text. You can use the `Trans` component with any type of react component. diff --git a/docs/i18n/espanol/how-to-translate-the-website.md b/docs/i18n/espanol/how-to-translate-the-website.md index 11013166c5..cda100dba7 100644 --- a/docs/i18n/espanol/how-to-translate-the-website.md +++ b/docs/i18n/espanol/how-to-translate-the-website.md @@ -101,7 +101,7 @@ const username = 'moT'; The above example passes an object to the `t` function with a `username` variable. The variable will be used in the JSON value where `{{username}}` is. -## Translate with the \ Component +## Translate with the `Trans` Component The general rule is to use the "t" function when you can. But there's a `Trans` component for when that isn't enough, usually when you have elements embedded in the text. You can use the `Trans` component with any type of react component. diff --git a/docs/i18n/portuguese/how-to-translate-the-website.md b/docs/i18n/portuguese/how-to-translate-the-website.md index a783a75cd8..9cd7bb8559 100644 --- a/docs/i18n/portuguese/how-to-translate-the-website.md +++ b/docs/i18n/portuguese/how-to-translate-the-website.md @@ -101,7 +101,7 @@ const username = 'moT'; The above example passes an object to the `t` function with a `username` variable. The variable will be used in the JSON value where `{{username}}` is. -## Translate with the \ Component +## Translate with the `Trans` Component The general rule is to use the "t" function when you can. But there's a `Trans` component for when that isn't enough, usually when you have elements embedded in the text. You can use the `Trans` component with any type of react component.