Switch language setting, weird behavior

rimas06

Member
XNullUser
Joined
Feb 22, 2022
Messages
187
Reaction score
4
Points
18
NullCash
3
I think there is something wrong with the language selector. When i use the language selector on the desktop version it works normally, when i use the mobile version it act weird, i switch language from the menu not from the top switch, the menu switch language and bring me to a category, and i have difficult time to switch back the language back, i have to go to the home page and use the top switch.


Where the switch language is located in the menu? and how i can set it to work the same way as the main switch?
 

darksabi

Active member
XNullUser
Joined
Jun 27, 2019
Messages
1,791
Reaction score
22
Points
38
NullCash
44
Why thanks for sharing! thanks for sharing! ;)
 

d-shilko

Well-known member
Pro
Master
Diamond
Elite
Joined
Jun 10, 2021
Messages
2,498
Reaction score
1,445
Points
113
NullCash
5,886
I think there is something wrong with the language selector. When i use the language selector on the desktop version it works normally, when i use the mobile version it act weird, i switch language from the menu not from the top switch, the menu switch language and bring me to a category, and i have difficult time to switch back the language back, i have to go to the home page and use the top switch.


Where the switch language is located in the menu? and how i can set it to work the same way as the main switch?
Hello.
First. Read forum rules.
Second. All questions should be placed in to the Request thread.
Third. No weird behavior. When you use module switcher then PS core set language in cookies and reload site. When you use link to switch language Dispatcher should to set cookies. And I guesses your site have module with override class Dispatcher.php
Check you PS folder for the file site-root/override/Dispatcher.php if it exist then try to disable module which make this class override
 

falkonweb

New member
XNullUser
Joined
Jul 30, 2021
Messages
5
Reaction score
0
Points
1
NullCash
10
Paylaşım için teşekkürler! paylaşım için teşekkürler!;)
 

linkin71

Active member
Elite
XNullUser
Joined
Feb 28, 2022
Messages
86
Reaction score
203
Points
33
NullCash
748
Hello.
First. Read forum rules.
Second. All questions should be placed in to the Request thread.
Third. No weird behavior. When you use module switcher then PS core set language in cookies and reload site. When you use link to switch language Dispatcher should to set cookies. And I guesses your site have module with override class Dispatcher.php
Check you PS folder for the file site-root/override/Dispatcher.php if it exist then try to disable module which make this class override
Why thanks for sharing! thanks for sharing!
 

zyhivan

Member
XNullUser
Joined
Aug 6, 2021
Messages
571
Reaction score
0
Points
16
NullCash
2,521
works well. You cand made the setup very easy, Thanks for the module.
 
Top