News:

Support the VirtueMart project and become a member

Main Menu

can't create language file for new plugin

Started by alin, December 21, 2014, 07:52:33 AM

Previous topic - Next topic

alin

Hi,

I'm trying to create a soapclient plugin for a website. But the language file is not loaded on installation.

In the installation XML I have:

   
   <languages>
      <language tag="en-GB">en-GB.plg_soapclient.sys.ini</language>
   </languages>


The ini file is UTF8, BOM signaturedisabled, Unicode Normalization Form: C

The content of the ini file is only something like:

PLG_SOAPCLIENT_XML_DESCRIPTION="My own description"

Any tips?


GJC Web Design

is it installed  (present in the administrator/language/en-GB folder?)
if so when u switch on Joomla language debug what does it say?

shouldn't for a straight lang var the file also be incl.  en-GB.plg_soapclient.ini  ?

<languages>
      <language tag="en-GB">en-GB.plg_soapclient.sys.ini</language>
<language tag="en-GB">en-GB.plg_soapclient.ini</language>
   </languages>

afaik .sys is just for the install/version info stuff
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

alin

Hi,

Thanks for the reply.

I made tests with language file in root folder and in language folder and still didn't work.

I changed the name of the file to include also the group the plugin belongs to and now it works. There was also a confusion created by the cache.

It worked with "sys.ini" only. I think also with ".ini" would have worked.