- Posts: 17
- Thank you received: 0
Language switcher switches always to homepage
-
Redo-It
Inactive member - Topic Author
- New Member
Less
More
10 years 5 days ago #43675
by Redo-It
Language switcher switches always to homepage was created by Redo-It
First of all... I apologize if there's already a topic handling my issue, but so far I didn't find it...
I'm supporting a Joomla website, which has two languages : English/French.
Everything about switching the language is working fine, except that when I switch language, I always get directed to the homepage.
So even when I'm a subpage somewhere on the site (let's say Page-C), and I switch the language, I get directed to the homepage instead of staying on Page-C in the new (switched) language.
What am I doing wrong?
website : www.sleepwell.be
Thanks in advance.
Kind regards,
Dominiek
I'm supporting a Joomla website, which has two languages : English/French.
Everything about switching the language is working fine, except that when I switch language, I always get directed to the homepage.
So even when I'm a subpage somewhere on the site (let's say Page-C), and I switch the language, I get directed to the homepage instead of staying on Page-C in the new (switched) language.
What am I doing wrong?
website : www.sleepwell.be
Thanks in advance.
Kind regards,
Dominiek
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 5 days ago #43676
by ivan.milic
Replied by ivan.milic on topic Language switcher switches always to homepage
That's the way module works
The following user(s) said Thank You: Redo-It
Please Log in to join the conversation.
-
Redo-It
Inactive member - Topic Author
- New Member
Less
More
- Posts: 17
- Thank you received: 0
10 years 4 days ago #43686
by Redo-It
Replied by Redo-It on topic Language switcher switches always to homepage
Thanks for your reply.
So if I understand well... I set up everything allright, and the language switch (to the homepage) is default behaviour?
Is there a workaround possible, so that you stay on the page you are viewing? Or is this not possible?
So if I understand well... I set up everything allright, and the language switch (to the homepage) is default behaviour?
Is there a workaround possible, so that you stay on the page you are viewing? Or is this not possible?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 4 days ago #43688
by ivan.milic
Replied by ivan.milic on topic Language switcher switches always to homepage
It is possible, all that happens in back is that user should be redirected to url with correct language ending. So you could use your custom control. Trick is to calculate correct urls. To take current current language /en url part and put there selected language like /de instead of /en. Yous you or someone else needs to create it.
The following user(s) said Thank You: Redo-It
Please Log in to join the conversation.
-
Redo-It
Inactive member - Topic Author
- New Member
Less
More
- Posts: 17
- Thank you received: 0
10 years 3 days ago #43705
by Redo-It
Replied by Redo-It on topic Language switcher switches always to homepage
Can you indicate me where in the code/template/... I should be changing that?
Tnx in advance.
Dominiek
Tnx in advance.
Dominiek
Please Log in to join the conversation.
Time to create page: 0.178 seconds