Jump to content

Language switch on Link


Recommended Posts

Hello guys,

I have 2 Links to switsch the Language:  EN - GER

added this code as an url: ?language=german and ?language=english 

almost working but i like to switch to the current url. an example: if this url on the browser 

/clientarea.php?action=services

then the language switch need to be

/clientarea.php?action=services &language=german

 

How can i handle this between ? and & what code should i add?

Link to comment
Share on other sites

On 17/05/2020 at 08:42, MissionPossible said:

How can i handle this between ? and & what code should i add?

if these language links are on a WHMCS page, then take a look at how header.tpl handles language choice by adding {$currentpagelinkback} to the links.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated