#60542 included type assertions to allow us to migrate to i18next >= 23, but this isn't ideal.
To avoid having to make assertions and get better types out of the t function we should investigate the correct TS setup in https://www.i18next.com/overview/typescript#create-a-declaration-file.
We will likely need to move away from .json files because of https://www.i18next.com/overview/typescript#not-working-interpolation-values
#60542 included type assertions to allow us to migrate to i18next >= 23, but this isn't ideal.
To avoid having to make assertions and get better types out of the
tfunction we should investigate the correct TS setup in https://www.i18next.com/overview/typescript#create-a-declaration-file.We will likely need to move away from .json files because of https://www.i18next.com/overview/typescript#not-working-interpolation-values