HyperPlay-Gaming / hyperplay-ui

HyperPlay UI kit package
https://hyperplay-ui.vercel.app
GNU Lesser General Public License v3.0
1 stars 0 forks source link

add i18n-next support for complex i18n strings #384

Open eliobricenov opened 2 months ago

eliobricenov commented 2 months ago
          Same comment as I left on another PR:

Breaking up all the strings will mess up how it gets translated. Using Trans should let you use components while keeping the translation string together https://react.i18next.com/latest/trans-component

We make the same mistake elsewhere but I'm trying to call it out when I see it

_Originally posted by @BrettCleary in https://github.com/HyperPlay-Gaming/hyperplay-ui/pull/376#discussion_r1710800449_