Zen Cart Logo
Forums / Managing Customers and Orders / Auto Emails not in right language

Auto Emails not in right language

Views: 1,892

Results 1 to 15 of 15
26 Oct 2012, 12:38 AM
#1
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Auto Emails not in right language

The auto emails for new customers, and even the emails with the invoice confirmation has always been in my language, Norwegian.
But has now stopped to come in my language, Its only in English.

The folder is right for the emails with the folder structur /email/no/
All files area there, and they are in the correct language.

Is there a file telling what language directory every language uses? :shocking:

26 Oct 2012, 3:37 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

brodreneolsen:

Is there a file telling what language directory every language uses? :shocking:
Admin->Localization->Languages ----- you specify the short-name of the language there. Most people use the official 2-letter "locale" code for the short-name of the language, for consistency.

26 Oct 2012, 3:51 PM
#3
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Re: Auto Emails not in right language

DrByte:

Admin->Localization->Languages ----- you specify the short-name of the language there. Most people use the official 2-letter "locale" code for the short-name of the language, for consistency.

Thank you. The ´local´code for Norway in my settings is also NO. I can´t figure why the mail are still in english :blink:

26 Oct 2012, 4:06 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

On the storefront, Zen Cart presently sends emails in the language "in use" by the customer while they're on your site. So if the customer has selected English, they'll get emails in English. (And if your store's default is English, then the customer has "selected" English by virtue of not selecting another language.)

In the Admin, the emails are sent in whatever language the Administrator is using while logged in.

26 Oct 2012, 4:23 PM
#5
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Re: Auto Emails not in right language

DrByte:

On the storefront, Zen Cart presently sends emails in the language "in use" by the customer while they're on your site. So if the customer has selected English, they'll get emails in English. (And if your store's default is English, then the customer has "selected" English by virtue of not selecting another language.)

In the Admin, the emails are sent in whatever language the Administrator is using while logged in.

The store is set to: Country: Norway, Zone: Norge
If I create a new account using selected language Norwegian, adress and everything set to Norway, the emails still will be in English.

26 Oct 2012, 4:33 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

HTML emails? or text-only emails?

26 Oct 2012, 4:34 PM
#7
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Re: Auto Emails not in right language

I have tried both, but still in english

26 Oct 2012, 4:44 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

Okay, here's how it works technically:

  1. The customer accesses the site
  2. Zen Cart picks the store's default language, based on the store's settings.
  3. The customer opts to change it, or not change it.
  4. The customer is then using that language for everything, including all the screen-displayed content AND emails.

So ... if the customer accesses the create-account page, then all the language pieces for that page are loaded ... including screen-only stuff and email stuff (BOTH are contained in the same file, and both are used at the same time).

So, if the customer is creating an account in English, then they'll get their Welcome email in English.
If they're creating an account using Norwegian, then whatever text is defined in the Norwegian language files will be used ... both in emails and on-screen ...... again, because the text is in the same files.

26 Oct 2012, 4:51 PM
#9
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Re: Auto Emails not in right language

  1. true
  2. the store is set to auto detect language from browser.
  3. the customer sees the page in the prefered language, norwegian.
  4. all text, prices all is in english

thats wat is so strange, the user opt. Norwegian also in adress.
The order confirmation is in Norwegian and also the welcome mail when registering.
This worked for me before, but I don´t know if the problem came when selecting possibility for english language also.

26 Oct 2012, 4:55 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

brodreneolsen:

The store is set to: Country: Norway, Zone: Norge
If I create a new account using selected language Norwegian, adress and everything set to Norway, the emails still will be in English.

brodreneolsen:

thats wat is so strange, the user opt. Norwegian also in adress.

Emails and languages are NEVER based on the customer's "address", nor the store's "country" or "zone" setting.

26 Oct 2012, 4:57 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

brodreneolsen:

  1. the customer sees the page in the prefered language, norwegian.

The order confirmation is in Norwegian and also the welcome mail when registering.
So, the emails ARE arriving in Norwegian?

I'm confused now. All this time you've been saying they were arriving in English.

26 Oct 2012, 5:01 PM
#12
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Re: Auto Emails not in right language

DrByte:

Emails and languages are NEVER based on the customer's "address", nor the store's "country" or "zone" setting.

These languagefiles for the email, are they all stored in the folder /emails/no/
or are some text in another place? all text in the /no folder is in the rigt language.

26 Oct 2012, 5:16 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Auto Emails not in right language

No.

All language text is stored in the /includes/languages/ and /your-admin/includes/languages/ folders and files.

The /email/ folder ONLY holds HTML files which are ONLY templates and NOT actual "text".

26 Oct 2012, 5:19 PM
#14
brodreneolsen avatar

brodreneolsen

New Zenner

Join Date:
Oct 2012
Posts:
17
Plugin Contributions:
0

Re: Auto Emails not in right language

I see. Thank you very much.

I will try to look in the language folders to see it something is wrong.

23 Feb 2013, 7:47 AM
#15
geryjuhasz avatar

geryjuhasz

New Zenner

Join Date:
Jun 2012
Posts:
14
Plugin Contributions:
0

Re: Auto Emails not in right language

brodreneolsen:

I see. Thank you very much.

I will try to look in the language folders to see it something is wrong.

Hi!
One simple question: Do you have facebookAll module installed?