We just simply pass the key.
Interpolation is done by passing the params attribute. The value of the attribute must be a JSON string. The keys of the JSON string must match the keys of the interpolation values
Different levels of depth are accepted
For accessibility and good practices reasons, we can also localize
different attributes like aria-label
or
title
. The way it is a bit different, we are passing
props inside the attribute data-i18n
If the key is not available, i.e., not to be found on the data file of the defaultLanguage, then a error message will be shown