Ideally xamls from task capture are created via export feature directly..check the below link for details
There is no in built translation as such but can convert after it generates..or if you want you can create your own template as well with required place holders