Multilingual site with mojoPortal

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
11/30/2006 4:55:53 AM
Gravatar
Total Posts 10

Multilingual site with mojoPortal

Hey,

I'm trying to find a way to create a multilingual website using mojoPortal. But there seems to be some problems or difficulties.

Is there a way to use flags or text to switch between languages? Like eng and rus flags for example. I know, that there should be different menu trees for each of the languages. But I haven't found a way to display some submenu based on parent menu item or page id. Is this not implemented yet or are there some other trick to do it?


Thanks
12/5/2006 9:34:02 AM
Gravatar
Total Posts 18439

Re: Multilingual site with mojoPortal

Sorry its taken so long to respond to this post. My intention was to write some documentation of my recommendations which I still have not had a chance to do, but I will do this soon and post again here when I get to that.

The short story is my recommendation is to use 1 site per language not try and do multiple languages in one site. I have never seen a site (on the internet) that effectively supports more than one language in the same site.

In mojoPortal, resources like labels and button text come from the resource file and adapt to the language settings of the browser if resources for the preferred language are available otherwise it falls back to the default as specified in web.config:

<globalization
            culture="auto:en-US"
            uiCulture="auto:en"
            requestEncoding="utf-8"
            responseEncoding="utf-8"
            fileEncoding="iso-8859-15" />

in the example, auto tells it to try and pick resources based on the user's browser language preference, :en-US says en-US is the default to use if the preferred resources cannot be found.

However since the vast majority of text on any page is coming from the db, it all depends on having content authors for the languages you want to support. Since it really doesn't make sense to have pages with both languages I think it is much better to give each language its own fully supported site.
Of course you could just organise different language pages in the menu if you want to.

Hope it helps,

Joe
12/5/2006 10:09:27 AM
Gravatar
Total Posts 10

Re: Multilingual site with mojoPortal

Creating multiple sites sounds like a good idea. Only for site editors it may be not so comfortable because they should (?) switch between sites while editing content. But in the other hand one person don't usually manage all the content in different languages. And for larger sites the different site idea should be best for multilingual sites.

But in my case, I made a little hack to support what I needed. When creating pages, user can now choose the language the page belongs. It may not be the best solution, but it was OK to me. Because the site I'm working on is a quite specific and small and is primarily based on custom image gallery. So this hack shouldn't be a problem for this site :)
You must sign in to post in the forums. This thread is closed to new posts.