Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnLang.php

Procedural File: pnLang.php

Source Location: /pnLang.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnLang.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2001, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








cnvlanguagelist [line 778]

void cnvlanguagelist( )

Language list for auto detection of browser language





[ Top ]



countrylist [line 1033]

void countrylist( )





[ Top ]



languagelist [line 285]

void languagelist( )

list of all availabe languages



Tags:

author:  Patrick Kellum <webmaster@ctarl-ctarl.com>


[ Top ]



language_current [line 1341]

void language_current( [ $action = 'get'], [ $new_language = ''])

get current language





Parameters

   $action  
   $new_language  
[ Top ]



language_name [line 1371]

void language_name( $language)

get a language name





Parameters

   $language  
[ Top ]



language_sql [line 1358]

void language_sql( $table, [ $prefix = ''], [ $sql = 'WHERE'])

build language sql clause for ml





Parameters

   $table  
   $prefix  
   $sql  
[ Top ]



lang_dropdown [line 179]

void lang_dropdown( )

Make common language selection dropdown



Tags:

author:  Tim Litwiller


[ Top ]



ml_ftime [line 1293]

void ml_ftime( $datefmt, [ $timestamp = -1])

Timezone Function



Tags:

author:  Fred B (fredb86)


Parameters

   $datefmt  
   $timestamp  
[ Top ]



modules_get_language [line 210]

void modules_get_language( [ $script = 'global'])

Loads the required language file for module some workaround for new layout with /system and /modules [larsneo]



Tags:

author:  Patrick Kellum <webmaster@ctarl-ctarl.com>


Parameters

   $script  
[ Top ]



modules_get_manual [line 239]

void modules_get_manual( )

Loads the required manual for module





[ Top ]



pnLangLoad [line 18]

void pnLangLoad( )

Load language files for the current language





[ Top ]



pnML [line 139]

void pnML( name $name, [params $params = array()], [ $html = false], [ $noprocess = false], [ $escapeForScript = false])

return a translated string





Parameters

name   $name   constant to use
params   $params   associative array of replacements
   $html  
   $noprocess  
   $escapeForScript  
[ Top ]



pnSetLocale [line 111]

OS pnSetLocale( category $category, locale $locale)

For strftime we have to convert day and month names if we are using utf-8 on Windows systems

see PHP manual and comments




Tags:

return:  dependent encoding (Linux: character set, Windows: codepage
author:  Bernd Plagge


Parameters

category   $category   as for setlocale
locale   $locale   string or array of locale names
[ Top ]



rsslanguagelist [line 905]

void rsslanguagelist( )





[ Top ]



themes_get_language [line 276]

void themes_get_language( [ $script = 'global'])

Loads the required language file for themes

deprecated - pnThemeLoad now handles the language file directly




Tags:

author:  Patrick Kellum
deprecated:  


Parameters

   $script  
[ Top ]


Packages:

Files:

Classes: