Jump to content

Multilanguage site with whmcs


chrismfz

Recommended Posts

Let's say we want to create a multi language web site with whmcs in

the same domain with whmcs.

 

We have 2 languages. Greek for primary, English secondary.

 

Greek on the root folder / and English in a subfolder /en/

 

But both Gr/En sites are using the same whmcs installation / folder

And at whmcs configuration we have Gr as our default language.

 

If someone clicks at http://www.domain.com/en/ the site is English.

But if someone click at a whmcs link for example support or domainchecker

it is in Greek.

 

 

So I am wondering if there is a link we can add like the template "on-the-fly" change link http://domain/whmcs/?systemtemplate=portal

for language change or a javascript to use or anything else anyway

to change it dynamically when someone clicks on the English site.

Link to comment
Share on other sites

In smarty templating system can I use an IF statement for the language

variable posted before?

 

Specifically I want to change one menu which is included with {php}

to another php menu file with the English languge

 

Considering that this will change if the language is set to English.

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