ShopifyFormat.parse seems to assume that res is always a string, which unfortunately means that it's not possible to use arrays or objects with i18next.
https://www.i18next.com/translation-function/objects-and-arrays
I'd guess that's it's just a matter of recursively iterating over objects/arrays, but I don't know enough about the inner workings of i18next to know for sure.