You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the default prop values are nullified, we override the default formatting rules in the JSON translation value. We can take a look at an example of German translation for SystemMessage:
- The curly brackets (`{{`, `}}`) indicate the place where a value will be interpolated (inserted) into the string.
174
174
- variable `timestamp` is the name of variable which value will be inserted into the string
175
+
- value separator `|` signals the separation between the interpolated value and the formatting function name
175
176
-`timestampFormatter` is the name of the formatting function that is used to convert the `timestamp` value into desired format
176
177
- the `timestampFormatter` is can be passed the same parameters as the React components (`calendar`, `calendarFormats`, `format`) as if the function was called with these values. The values can be simple scalar values as well as objects (note `calendarFormats` should be an object)
0 commit comments