• Welcome to KonaKart Community Forum. Please login or sign up.
 

Konakart 2.2.6.0 - automatic comunications problem.

Started by ByDcc, August 16, 2009, 06:50:15 pm

Previous topic - Next topic

ByDcc

   Hi all,
   I'm using two clients to test automatic comunications. I defined one client from U.S. California and other client from Spain Madrid.

   The welcome mail has been sent in spanish in both cases.
   The reset password, in the admin application, sent an email in english in both cases.

   I have velocity templates in spanish and english.

   * Welcome message is sent in the class CustomerRegistrationSubmitAction in the next code:

kkAppEng.getEng().sendWelcomeEmail(customerId, Constants.welcomeSubject,
                    kkAppEng.getLocale().substring(0, 2));


   I think this is not an error because use the locale of my browser, from spain.

   * Password reset. But in the admin application I can't see the code and I don't know why the messages are sent in english.
   I would like to know what criteria is followed to send a message in a language in the admin application.

   Thank you in advance.

julie

At the moment the admin application looks at the default server locale.

In a future release we will probably save the locale used by the customer when he uses the store front application and then use that locale to send the eMail.