Skip to content

Commit da4003f

Browse files
authored
Update Translation.md
1 parent b7942ad commit da4003f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/Translation.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -700,9 +700,12 @@ This solution is all-or-nothing: you can't silence only *some* missing translati
700700
701701
## Translating Record Fields
702702
703-
You may have fields which are translated in multiple languages and want users to see and edit each translation. To display them, you can use the [`<TranslatableFields>`](/Fields.html#translatable-fields) component. To allow their edition, you can use the [`<TranslatableInputs>`](/Inputs.html#translatable-inputs) component.
703+
Some of your records may contain fields that are translated in multiple languages. It's common, in such cases, to offer an interface allowing admin users to see and edit each translation. React-admin provides 2 components for that:
704704
705-
They both expects the translatable values to have the following structure:
705+
- To display translatable fields, use the [`<TranslatableFields>`](/Fields.html#translatable-fields) component
706+
- To edit translatable fields, use the [`<TranslatableInputs>`](/Inputs.html#translatable-inputs) component
707+
708+
They both expect the translatable values to have the following structure:
706709
707710
```js
708711
{

0 commit comments

Comments
 (0)