Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps or if I can help with the issue quickly.
To obtain the translated ID based on the taxonomy ID in any active language on your website, you can use the wpml_object_id hook as explained here: https://wpml.org/wpml-hook/wpml_object_id/.