Package base :: Package includes :: Module language
[hide private]

Module language

source code

Multiple language handling functionality.
See Also:
Drupy Homepage, Drupal Homepage
Notes:

Author: Brendon Crawford

Copyright: 2008 Brendon Crawford

Contact: message144 at users dot sourceforge dot net

Version: 0.1

Functions [hide private]
 
initialize()
Choose a language for the page, based on language negotiation settings.
source code
 
from_browser()
Identify language from the Accept-language HTTP php.header we got.
source code
 
url_rewrite(path, options)
Rewrite URL's with language based prefix.
source code
Variables [hide private]
  __version__ = '$Revision: 1 $'
Function Details [hide private]

url_rewrite(path, options)

source code 
Rewrite URL's with language based prefix. Parameters are the same as those of the url() function.