Jump to content
  • 0

How To Use Services Language Pak In Plugins


ty0716

Question

4 answers to this question

Recommended Posts

  • 0

Can't be used services or accounts language array in the plugins ?

 

Can only be added separately?

 

It uses the language you've selected you can't enable a language per section or if you want to display something in english you'll need to add the english version to the folder.

Link to comment
Share on other sites

  • 0

If you want to make additional language available to a template from a different area of the system, you will need to load it yourself. This requires that you update the controller(s) that you want to use it, and load the language file.

 

e.g.

Open the /plugins/support_managerpro/controllers/client_tickets.php controller

Find:

public function reply() {

Below that line add:

Language::loadLang("client_services");

Save the file, then use language definitions from that language file in /plugins/support_managerpro/views/default/client_tickets_reply.pdt

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
Answer this question...

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

Loading...
×
×
  • Create New...