Skip to content

Diference between e107:.lan & e107::includeLan ? #5395

Answered by Moc
rica-carv asked this question in Q&A Core
Discussion options

You must be logged in to vote

e107::includeLan() is outdated and should not be used.

Instead use e107::lan() to load the language files for plugins or themes. This should be sufficient for most use cases, and it is the recommended method to use.

In some specific cases you can also use e107::coreLan(), e107::themeLan() and e107::plugLan(). This is only recommended for specific use cases.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Moc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants