Multi language setting page

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.
12/3/2010 2:46:19 AM
Gravatar
Total Posts 2

Multi language setting page

Hi everybody,
My scenario is :
Multi site installation by host name with 24 independent site, every site have different Users and different roles .
To manage multi language site I add a new page in administration menu :
My business creates another site, Modify UseCultureOverride value (<add key="UseCultureOverride" value="true" />) add the AppSetting key relative of the culture (ex. add key="site1culture" value="en-US" />) in web .config and soon will send a mail to remind to create another binding for the site under IIS.
I also add a new table in db for match sites dependence, (siteid – parentSite), so can I dynamically populate a web user control with flags link in homepage .


The problem is that I have to use related site mode only for localized site, not for all sites.

 for example :
Site1(siteID=1): (www.site1.com) related with www.site1.en.com(siteID=2)
Site 2(siteID=3 ): (www.site3.com) related with www.site3.en.com(siteID=4)
Site 1 And site 2 aren’t related .
I know that the relate site mode only  use one site id  defined in  relatedsiteid property, but in my scenario this is insufficient.
So I want ask you if is possible modify Role.cs and SiteUser.cs to get relatedsiteid not (only) from .config, but (also) from a table (or maybe adding another sitesetting) , otherwise,

how can i do that ?
I don’t know if I was clear to explain my scenario.

By the way... MOJO is great !!!
Thanks in advance
 

12/3/2010 6:29:07 AM
Gravatar
Total Posts 18439

Re: Multi language setting page

Hi,

Sorry but it isn't going to support that kind of scenario. You should use one installation of mojoPortal per group of related sites.

Best,

Joe

12/3/2010 8:14:39 AM
Gravatar
Total Posts 2

Re: Multi language setting page

Thanks for the quick response  !!!

Do you think that developing  one thing like this can be useful ?
Can i try to do it or is it useless?
 

bye

Vincenzo

 

12/3/2010 8:24:26 AM
Gravatar
Total Posts 18439

Re: Multi language setting page

I think it would require a good deal of complexity that I do not want to introduce into mojoPortal. Therefore I recommend if you want to use related sites mode then only create related sites in that installation and use other installation(s) for other sites.

I don't recommend forking the code because then you won't be able to upgrade without losing your changes.

Best,

Joe

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