If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / Auto Emails not in right language

Auto Emails not in right language

Started by brodreneolsen on 26 Oct 2012, 12:38 AM · Views: 1,911

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

Post #1 by brodreneolsen

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,512
Plugin Contributions:
176

Post #2 by drbyte

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

brodreneolsen

New Zenner

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

Post #3 by brodreneolsen

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,512
Plugin Contributions:
176

Post #4 by 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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

brodreneolsen

New Zenner

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

Post #5 by brodreneolsen

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,512
Plugin Contributions:
176

Post #6 by drbyte

HTML emails? or text-only emails?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

brodreneolsen

New Zenner

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

Post #7 by brodreneolsen

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,512
Plugin Contributions:
176

Post #8 by drbyte

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

brodreneolsen

New Zenner

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

Post #9 by brodreneolsen

  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,512
Plugin Contributions:
176

Post #10 by drbyte

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #11 by drbyte

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.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

brodreneolsen

New Zenner

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

Post #12 by brodreneolsen

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,512
Plugin Contributions:
176

Post #13 by drbyte

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".

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

brodreneolsen

New Zenner

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

Post #14 by brodreneolsen

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

Post #15 by geryjuhasz

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?