Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# bart_s 12/9/2008 12:29 PM
I created 2-lingual site
2 root nodes : Home(Culture = en) and Home_ru(Culture = ru) with following nodes:
Home
     Articles
     Story

Home_ru
     Articles_ru
     Story_ru
All pages have languageswitcher and all work well, except one point: when user click on languageFlag it redirect to root node of appropriate culture.
How can I make switch from Articles(en) to Articles_ru(ru), when user press languageswitcher?
Is it possible link similar pages or keep user path on culture switching?
# martijnb 12/10/2008 10:20 AM
Maybe you could create a LanguageSwitcher that calculates the position of the current node (for example 'the third node of the second node under the root'). Then it could check if the site for the other language also has a node at that position and redirect to it. Of course, it only works when you have exactly the same structure in all languages.
# bart_s 12/10/2008 2:59 PM
ok. As I see the current LanguageSwitcher can not make that calculation. It is necessary develop new one with that feature.
Thanks!