My plan is to insert/update/remove categories using WP REST API. Native language is for example english and translation spanish. Inserting category to WP is pretty easy because WP REST API has built-in feature for that. I also have translation for the category in data that I insert to WP by using REST API. I like to update translation right after category has been inserted to WP. How I should do that with WPML? It should happen by using php so I assume I need several hooks to handle translation. But is this even possible?