Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > cannot change the default culture of my website View modes: 
User avatar
Member
Member
Fabien Calais - 12/13/2010 9:06:13 AM
   
cannot change the default culture of my website
I have a multilingual website with 2 languages : en-us and fr-fr.

I configure the setting of my website to use fr-fr as the default culture (site > edit site > default content culture French - French

Almost everything is displayed en french except the macro inside email which is still in french

Any idea?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/13/2010 9:26:44 AM
   
RE:cannot change the default culture of my website
Hello,


The e-mail template’s macros are resolved according the UI culture of global administrator. Could you please check the UI of Global administrator? (CMSSiteManager -> Administration -> Users)


Best regards,
Helena Grulichova


User avatar
Member
Member
Fabien Calais - 12/13/2010 10:10:06 AM
   
RE:cannot change the default culture of my website
Thanks for the reply;

Its worked except in the case i want to use
I have implemented a custom payment gateway (mercanet)
this one call an aspx page (autoresponse) when the payment is done.

I use this page to send my email to customer with a function i write.

the email is sent
the macro is solved
only the localization stay in en-us even if i set the ui culture of the global administrator to fr-fr.

User avatar
Member
Member
Fabien Calais - 12/14/2010 5:21:00 AM
   
RE:cannot change the default culture of my website
i'm still with my problem
here after some more details :

the custom payment gateway i use is similar to paypal gateway
i mean the payment gateway use a Instant Payment Notification

so i have a page (autoresponse.aspx) which works as the PayPalIPN.aspx page
the order.OrderPaymentResult.PaymentIsCompleted is set to true
and the email payment notification is sent to customer

all of this works
but the macro of the email template use the en-us culture

So, my question is :
how to set the culture to send this email in french

can you try to reproduce it with the paypal gateway?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/16/2010 6:06:53 AM
   
RE:cannot change the default culture of my website
Hi Fabien,

there was a bug in the version 4.0 which was fixed in the version 4.1 that it sends the notification from payment gateways with wrong culture.

If you use the version 4.0 please upgrade it.


Best regards,
Helena Grulichova