My translate site is displaying the robots.txt file from the original site, I need it to direct to another Txt file with the same name but with different content.
Original URL: hidden link
German translated URL: hidden link
The original file is on the .com but I need the .de to request another robot.txt file from my server called robots.txt but in another folder.
Thank you for providing more information related to the issue you're having.
Setting up a different robots.txt file for each language would be a custom request.
You would need to filter the robots.txt for every site accordingly using the official WordPress wp_robots hook (https://developer.wordpress.org/reference/hooks/wp_robots/).
In this case, we recommend that you either hire a developer or a WPML contractor (https://wpml.org/contractors) to accomplish that, as custom coding falls out of the purpose of our WPML Support Policy.
I hope that you will find this information helpful.