Jump to content

Deactivating Default Language


Orkun
 Share

Recommended Posts

Hi Guys

I have made this hook here to "deactivate" the default language with a click of a toggle/checkbox.

The thing is my hook here works only when I am on that specific page.

How can I make it work inside e.g. inside a foreach loop where I output the language switcher (when the user language isn't english)?

70210674_Bildschirmfoto2022-04-27um08_56_29.thumb.png.bb6225f6f356872ceaa2e171f5b6a506.png

285637737_Bildschirmfoto2022-04-27um08_56_49.thumb.png.70a755f86c677448664fecceda856738.png


KR
Orkun

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...