Jump to content
  • 0

How To Use Services Language Pak In Plugins


Question

4 answers to this question

Recommended Posts

  • 0
Posted
  On 7/21/2015 at 9:05 AM, Licensecart said:

You can't mix and match, unless you edit the whole folder and put the english version in the language folder.

 

 

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

 

Can only be added separately?

  • 0
Posted
  On 7/21/2015 at 9:11 AM, ty0716 said:

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.

  • 0
Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...