Languages & Right-to-Left
The comment sections keep all their text in one file, and their layout follows the reading direction of your app. Both apply to the social and threaded comments, in every style variant, on React, React Native and Expo.Installing in another language
Pass--lang to add. Pick a component and a language to get the command:
The component is the same in every language.
--lang only decides which text goes into its strings file. If the component has no translation for the code you pass, add lists the languages it has and installs nothing.
The strings file
Every piece of text the section shows is inutils/strings.ts inside the component’s folder: placeholders, button labels, tooltips, the report dialog, error messages and relative times. Nothing else in the component contains user-facing text, so rewording or translating it is an edit to this one file.
timeAgo, with one function per unit.
To translate into a language that is not in the table above, install the component in English and replace the values in utils/strings.ts.
The label on the GIF button stays “GIF” in every language and is not in the strings file.
Right-to-left layouts
The sections lay themselves out from the start of the line to its end instead of from left to right, so they mirror in a right-to-left app with no setup: avatars, indentation, the thread lines and their elbows, the highlight strip of a highlighted comment, the reply bar, menus and the GIF picker. React (Web) — the section follows thedir of the page, or of any element around it:
I18nManager.
Arabic and Hebrew are right-to-left languages.
Direction and language are independent. A right-to-left app gets a right-to-left section whatever language its strings are in, and installing with --lang he does not change the direction of your app.

