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
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