If there is no translation available for a given translation key the t function from lib/i18n.ts will return an empty string ''. Some translations may be used for visually hidden content like aria-labels, where it will be extra difficult to detect missing translations. Therefore it would be a good enhancement to log a warning for missing translations.
If there is no translation available for a given translation key the
t
function fromlib/i18n.ts
will return an empty string''
. Some translations may be used for visually hidden content likearia-labels
, where it will be extra difficult to detect missing translations. Therefore it would be a good enhancement to log a warning for missing translations.