Editing translation i18n through curl | Community
Skip to main content
Level 2
October 27, 2023

Editing translation i18n through curl

  • October 27, 2023
  • 2 replies
  • 546 views

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
October 30, 2023
kautuk_sahni
Community Manager
Community Manager
October 30, 2023

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

Kautuk Sahni