2 added 139 characters in body
source | link

I'm running a multilingual site, and I want the emails sent to the user to be in their language. The scheme I already have is the following:

  1. The website determines the user's country through their IP.
  2. The website redirects the user to the site's version of the language of their country (eg. if the IP detected is from France, then it redirects the user to a WPML french version of the site).

The problem is that I want to have emails translated as well, based on the IP of the user. (eg. the user registers through https://mysite/fr/signup, then the email sent to him for completing his registration should be in French.)

I have WPML and Loco Translate activated for translation, along with Geo Redirect to redirect users to various site's languages.

Is this achievable? and how?

I'm running a multilingual site, and I want the emails sent to the user to be in their language. The scheme I already have is the following:

  1. The website determines the user's country through their IP.
  2. The website redirects the user to the site's version of the language of their country (eg. if the IP detected is from France, then it redirects the user to a WPML french version of the site).

The problem is that I want to have emails translated as well, based on the IP of the user.

I have WPML and Loco Translate activated for translation, along with Geo Redirect to redirect users to various site's languages.

Is this achievable? and how?

I'm running a multilingual site, and I want the emails sent to the user to be in their language. The scheme I already have is the following:

  1. The website determines the user's country through their IP.
  2. The website redirects the user to the site's version of the language of their country (eg. if the IP detected is from France, then it redirects the user to a WPML french version of the site).

The problem is that I want to have emails translated as well, based on the IP of the user. (eg. the user registers through https://mysite/fr/signup, then the email sent to him for completing his registration should be in French.)

I have WPML and Loco Translate activated for translation, along with Geo Redirect to redirect users to various site's languages.

Is this achievable? and how?

1
source | link

How to translate WordPress Emails?

I'm running a multilingual site, and I want the emails sent to the user to be in their language. The scheme I already have is the following:

  1. The website determines the user's country through their IP.
  2. The website redirects the user to the site's version of the language of their country (eg. if the IP detected is from France, then it redirects the user to a WPML french version of the site).

The problem is that I want to have emails translated as well, based on the IP of the user.

I have WPML and Loco Translate activated for translation, along with Geo Redirect to redirect users to various site's languages.

Is this achievable? and how?