Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
 
CPG-Nuke source documentation


Files - Classes
  includes/functions/language.php
[x] properties
[x] functions
get_langcode

string get_langcode(string $thislang, boolean $set_define)

Returns the short notation for an language.
At pageload it is called using $currentlang to set a define for the page main language.

Arguments

  • $thislang

    current language setting of the user

  • $set_define [optional, default value = false]

    don't use it, it's called by mainfile already

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy