Tell us what you are trying to do?
I have a plugin which sends an email and creates a dynamic template.
Is there any documentation that you are following?
I have a site with a different language.
Is there a similar example that we can see?
What is the link to your site?
I am currently testing on the local.
Welcome to WPML support. I'd be assisting you further on this issue.
Can you please elaborate a little more so I can better understand?
Sometimes screenshots illustrating what you mean may go a long way to clarify what words fail to transmit so if you like make use of "upload an image" below the comment area.
Further, for helping further on this issue it's very important to know your site related information such as themes used, plugins used, PHP versions etc. You can easily send this using Debug information settings from WPML.