Skip to content

bad column is retrieve in case of many local #14

@swa-desmat

Description

@swa-desmat

Good morning, your script is awesome ! I just seen a small bug. In case where you want to import multiple locales, the script detect import first label for another language:

Example of CSV:
slug,label,label[fr]
"add-to-cart","Add to cart","Ajouter au panier"

Preview:
[
{
"_tags": [],
"slug[en]": "add-to-cart",
"label[en]": "Add to cart",
"label[fr]": "Add to cart"
}
]

Command used:
cfimp -space:xxxxxx -env:dev -model:microCopy -input:example.csv -locale:en -delim:"com" -preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions