Skip to content

Breaks i18next when using arrays or objects #143

@metatick

Description

@metatick

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions