Jump to content

override language on a particular theme


Recommended Posts

Hello WHMCS Community!

I'm having a little challenge on a custom theme. I need to override some translations in a specific theme through the language file.

This need is to be able to meet the need of the theme in changing words in the translation that help the user in the products that will be displayed in this theme, but this could not change the standard translation used in other WHMCS themes.

Is it possible to create a translation file that is used only on a specific theme?

Link to comment
Share on other sites

8 hours ago, bellafronte said:

Is it possible to create a translation file that is used only on a specific theme?

I think that you might be overcomplicating this - if you have a custom theme, surely you can specify which language string to use in the appropriate template... :?:

if it's a variable that WHMCS generates itself from existing language strings, then that could be manipulated either in the template or via an action hook - there will certainly be more viable options other than creating a custom override file for a specific theme.

it would be useful to see an example of what you mean. :idea:

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.

×
×
  • 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