Skip to content

Breaks i18next when using arrays or objects #143

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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