e107sk.com

Content Category e107 Languages

Loading lan files on 27 Apr 2020

How to load non-standard file names

 e107::lan('pcontent', "lan_content"); 

It is impossible (and useless) to rewrite old lang files, mainly if they are used for both areas (admin and front too). It would mean to rewrite each mention in other code too. I am not able to remember what way to use when, so I started to use this way (second parameter is file name inside languages/LANGUAGE/ folders)

Official documentation on 27 Apr 2020

Other links

Follow us