Sources for file docs/language.txt in version 3.0
Click on a comment to hide it. Click here to show all comments.
Language
Required Files
plugins/class/access.php
Configuring
// Language
public $set_language = true;
/**
* Langauge
*
* xnyo has the ability to determine what languages the incoming user (and overriding
* this via ?lang=bleh obviously), as well as requiring languages like they were an
* access control list. See the manual for detailed examples, but
* lists of valid languages are stored here. It will also store the results of
* these searches so you can use them to localize your work, by say mangling the smarty
* template dir to show based on language, etc.
**/
// valid languages, see the manual for help with this one
public $languages;
// default language
public $default_language = 'en';
// and where our language lives - this is set automagically if $xnyo->set_language == true
public $language;
Methods
'access_plugin::set_language'
Advanced Usage Examples
Multi-language website!
Debug Information
user conf.
session stuff
xnyo conf.
