Changing content of the Subscription Confirmation email

This is a place to discuss how to adapt mojoPortal to the needs of different cultures. Before asking questions here please first review the localization documentation.

This thread is closed to new posts. You must sign in to post in the forums.
5/26/2011 5:50:53 AM
Gravatar
Total Posts 17

Changing content of the Subscription Confirmation email

The Subscription Confirmation email is sent in English. Where / how can I get it translated into other languages or how to change its content?

Thanks,

Mac

 

5/26/2011 10:39:47 AM
Gravatar
Total Posts 17

Re: Changing content of the Subscription Confirmation email

To be more precise:

The Subscription Confirmation email is sent in English, even though I run the Polish version of mojoPortal.

I'd like to find a place where it can translated or simply changed even if still in English.

Greetings,

Maciek

5/26/2011 11:53:25 AM
Gravatar
Total Posts 18439

Re: Changing content of the Subscription Confirmation email

Hi Maciek,

Things like that come from files in the /Data/MessageTemplates folder.

The files are named with a language code prefix, and additional languages can be supported by copying the english files and renaming them for the new language and then translate the content.

It will automatically use the file for the language the site is configured for but if the file for that language does not exist it will fall back to the English version of the file.

The specific file you are asking about is:

/MessageTemplates/en-US-NewsletterVerificationEmailMessage.config

For more info see also Translating mojoPortal.

If you translate the file you can email it to me at joe dot audette at g mail dotcom and I will include it in mojoPortal.

Best,

Joe

5/31/2011 8:13:28 AM
Gravatar
Total Posts 17

Re: Changing content of the Subscription Confirmation email

File prepared, still does not work. No entries in system log.

I also tried it for fr-CA, by setting that language in the browser. Also doesn't work, even though a file for that language is provided in the standard installation. 

Password reminder however is correctly translated.

Regards,

Maciek

5/31/2011 8:20:07 AM
Gravatar
Total Posts 18439

Re: Changing content of the Subscription Confirmation email

Are you forcing your site to a specific culture or not? It will use the default site culture.

5/31/2011 8:26:15 AM
Gravatar
Total Posts 17

Re: Changing content of the Subscription Confirmation email

If you mean the globalization setting in Web.config: I didn't change it, it's left at the default auto:en-US, to avoid a potential lack of translation, and remaining features work correctly.

 

 

5/31/2011 8:28:43 AM
Gravatar
Total Posts 18439

Re: Changing content of the Subscription Confirmation email

No, don't change that

put this in user.config

<add key="UseCultureOverride" value="true" />
<add key="site1culture" value="fr-CA" />

and touch Web.config

if using multiple sites you can set each site separately since the  siteid is part of the key.

Hope that helps,

Joe

5/31/2011 8:54:11 AM
Gravatar
Total Posts 17

Re: Changing content of the Subscription Confirmation email

Many thanks, now it works!

Maciek

 

You must sign in to post in the forums. This thread is closed to new posts.