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.<br /> <br />For more information, including installation and usage guides, please see the readme_langvars.txt included with this submission.
Welcome to DevFuse Forums
- Start new topics and reply to others
- Subscribe to topics and forums to get email updates
- Get your own profile page and make new friends
- Send personal messages to other members.
Guest Message by DevFuse
(View All Products)Featured Products
Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
Have your members submit their race times and share with others.
Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
Build your own forms for your members without coding experience. Support included for pm, email and topics.
Build a community database of items for your members. Full features custom fields included.
[IPS] Language Variables
No replies to this topic