Closed ahandsel closed 1 month ago
Hi @ahandsel, coincidentally I'm just working on updating some required params that were missed in the docs. Still for this case it depends on the format and I wouldn't mark it mark it as required for all formats. I'll try to at least note this in the description that it's required for some formats
@theSoenke Thank you for your reply.
It would be helpful if it is specified in the .CSV (Strings) – Phrase help page that the locale_mapping
is required.
Thanks for the feedback! now it's marked as required for both CSV and XSLX
Problem
Contrary to what the Phrase Strings Upload a new file API documentation suggests, the
locale_mapping
parameter is required when using thephrase push
command with a CSV file.API Documentation
phrase.yml Template
Below is a snippet from the
.phrase.yml
template file:Solution
Please either:
phrase-cli
to handle thelocale_mapping
parameter as optional.Context
I was trying to use the
phrase push
command to upload a CSV file to update a Phrase Strings project. However, I encountered the following error:I resolved the issue by adding the
locale_mapping
parameter to the.phrase.yml
file. However, the documentation does not mention that this parameter is required.Environment