Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Ecommerce - Invoice in multiple languages View modes: 
User avatar
Member
Member
hi1ton - 3/8/2011 4:38:27 AM
   
Ecommerce - Invoice in multiple languages
Hi

I have a multi-lingual site and would like to be able to send out an invoice based on the users selected culture during their purchase

Is this possible and if so how should we proceed.

Thanks,

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/8/2011 5:33:55 AM
   
RE:Ecommerce - Invoice in multiple languages
Hi,

you can localize the invoice (Tools > E-commerce > Configuration > Invoice) using localization macros as you would normally do. Localization macro is defined as {$string.key$}.
More information about localization macros you can find here:
http://devnet.kentico.com/docs/devguide/localization_expressions.htm
http://devnet.kentico.com/docs/devguide/configuring_multilingual_ui.htm

Best regards,
Ivana Tomanickova

User avatar
Member
Member
eagleag - 3/8/2011 6:36:20 AM
   
RE:Ecommerce - Invoice in multiple languages
How does system know which language to send to each customer?
Customers aren't USERS on site.

How does system know which culture of string to send?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/8/2011 8:05:07 AM
   
RE:Ecommerce - Invoice in multiple languages
Hi,

the language version is set based on the cookie (CMSPreferredCulture). This cookie is created based on the preferred culture of visitors' (public user's) browser. If the culture of browser is not supported by the system, the default culture is used. In other words, invoice emails will be in the culture, in which the user creates the order.

Best regards,
Ivana Tomanickova

User avatar
Member
Member
eagleag - 3/8/2011 8:11:56 AM
   
RE:Ecommerce - Invoice in multiple languages
so if I look in DB I should the site4s culture that the order was made in?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 3/11/2011 3:02:28 AM
   
RE:Ecommerce - Invoice in multiple languages
Hi,

yes, the order should be stored in the database in the culture it was made in.

Best regards,
Ivana Tomanickova