Jump to content

Language Variables


Recommended Posts

File Name: Language Variables

File Submitter: skizzerz

File Submitted: 22 Feb 2013

File Category: Utilities

The Language Variables hook allows you to define language strings with variable replacements, as well as various text transformations. The hook exposes a PHP API to replace variables in a language string as well as a new parse block to be used within skin templates to do the same. This has an advantage over the "traditional" way of variable replacement via sprintf() due to allowing skin templates to define the replacements in addition to PHP files, as well as the function support.

For more information, including installation and usage guides, please see the readme_langvars.txt included with this submission.

here to download this file

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...