If I download a langiage file, edit it, how can I upload it again?
If I download a langiage file, edit it, how can I upload it again?
Hi Carl
It's not implemented in the official GroupShareKit but there is a REST API endpoint to update the language files. We've forked sdl/groupsharekit.net and extended the ProjectClient with an additional upload method which uploads and replaces a language file of a project.
Basically it's a PUT-Request to projects/[PROJECT ID HERE]/files/[LANGUAGE FILE ID HERE]/upload with a multipart/form-data body containing an entry with the bytes of the file as value, file as name and the file name as filename.
see: http://gs2017dev.sdl.com:41234/documentation/api/index#!/Upload/Upload_Put
Hi Heinrich Muralt,
Could you please make a pull request with that missing functionality? After we review it we can make a new release of the Kit.
Kind regards,
Andrea Ghisa
Hi Heinrich Muralt,
Could you please make a pull request with that missing functionality? After we review it we can make a new release of the Kit.
Kind regards,
Andrea Ghisa