Jump to content
Sign in to follow this  
BunnyBloYT_Hosting

Template = Language

Recommended Posts

Hi @BunnyBloYT_Hosting

Here is a commercial product that probably helps you : https://www.blog.modulesgarden.com/automatic-currency-language-template-setup-whmcs

 

/**
* Configure additional settings:
* Firstly assign a WHMCS template to each country used.
* Use the below pattern (template name for country code) edit it and/or add new entries below:
*/
$countryToTemplate = array(
'US' => 'six',
'DE' => 'german_six',
'default' => 'six',
// NOTE: You can add more below
);

Here is another one: 

Or you find someone who will code you an Hook that change the template corresponding to the {$language} variable. 

 

Greetings Christian

 

Share this post


Link to post
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.

Sign in to follow this  

  • 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