Skip to main content
Level 2
Oct 27, 2023 9:35 PM UTC

Editing translation i18n through curl

Hey there,

 

I'm trying to cURL an endpoint in order to update my translation by editing a json file, but it doesn't work.

 

curl -u user:password \
-F":contentFile=@/absolute-path/de_DE.json" \
-F":operation=import" \
-F":contentType=json" \
-F":replace=true" \
-F":replaceProperties=true" \
it works with pages, so i'm probably doing something wrong here!
 
thanks in advance!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
Oct 30, 2023 9:19 AM UTC
Arun Patidar
kautuk_sahni
Level 9
Oct 30, 2023 11:38 AM UTC

@caradeotario Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Translate
Kautuk Sahni