| [ Index ] | PHP Cross Reference of Mambo 4.6.5 |
|
| [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 740 lines (25 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 3 files includes/phpgettext/phpgettext.catalog.php includes/phpgettext/phpgettext.class.php includes/phpgettext/phpgettext.compat.php |
PHPGettext:: (18 methods):
PHPGettext()
setVariable()
setlocale()
getlocale()
output()
_()
gettext()
dgettext()
ngettext()
dngettext()
bind_textdomain_codeset()
bindtextdomain()
textdomain()
dcgettext()
dcngettext()
getplural()
load()
add()
PHPGettextAdmin:: (18 methods):
PHPGettextAdmin()
gettextAble()
message_format()
compile()
initialize_translation()
update_translation()
add_to_dict()
convert_charset()
xgettext()
execute()
escCommand()
escPath()
header()
phpgettext()
T_()
Tn_()
Td_()
Tdn_()
Class: PHPGettext - X-Ref
| PHPGettext() X-Ref |
| The debugging flag |
| setVariable($variable) X-Ref |
| Set and lookup the locale from the environment variables. Priority order for gettext is: 1. LANGUAGE 2. LC_ALL 3. LC_MESSAGE 4. LANG return: unknown |
| setlocale($lang, $locale=false) X-Ref |
| No description |
| getlocale() X-Ref |
| No description |
| output($message, $untranslated = false) X-Ref |
| debugging function |
| _($message, $output = false) X-Ref |
| Alias for gettext will also output the result if $output = true |
| gettext($message) X-Ref |
| Lookup a message in the current domain returns translation if it exists or original message |
| dgettext($domain, $message) X-Ref |
| Override the current domain The dgettext() function allows you to override the current domain for a single message lookup. |
| ngettext($msgid, $msgid_plural, $count) X-Ref |
| Plural version of gettext |
| dngettext($domain, $msgid, $msgid_plural, $count) X-Ref |
| Plural version of dgettext |
| bind_textdomain_codeset($domain, $charset) X-Ref |
| Specify the character encoding in which the messages from the DOMAIN message catalog will be returned |
| bindtextdomain($domain, $path) X-Ref |
| Sets the path for a domain if gettext is unavailable, translation files will be loaded here |
| textdomain($domain = null) X-Ref |
| Sets the default domain textdomain |
| dcgettext($domain, $message, $category) X-Ref |
| Overrides the domain for a single lookup This function allows you to override the current domain for a single message lookup. It also allows you to specify a category. Categories are folders within the languages directory . currently, only LC_MESSAGES is implemented The values for categories are: LC_CTYPE 0 LC_NUMERIC 1 LC_TIME 2 LC_COLLATE 3 LC_MONETARY 4 LC_MESSAGES 5 LC_ALL 6 not yet implemented |
| dcngettext($domain, $msg1, $msg2, $count, $category) X-Ref |
| dcngettext -- Plural version of dcgettext not yet implemented |
| getplural($count, $domain) X-Ref |
| Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1; nplurals - total number of plurals plural - the plural index Plural-Forms: nplurals=1; plural=0; 1 form only Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1; Plural-Forms: nplurals=2; plural=n != 1; 2 forms, singular used for one only Plural-Forms: nplurals=2; plural=n>1; 2 forms, singular used for zero and one Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2; 3 forms, special case for zero Plural-Forms: nplurals=3; plural=n==1 ? 0 : n==2 ? 1 : 2; 3 forms, special cases for one and two Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3; 4 forms, special case for one and all numbers ending in 02, 03, or 04 |
| load($domain, $path) X-Ref |
| No description |
| add($domain) X-Ref |
| No description |
Class: PHPGettextAdmin - X-Ref
| PHPGettextAdmin($useGettext = false, $debug = false) X-Ref |
| No description |
| gettextAble() X-Ref |
| No description |
| message_format($domain, $textdomain, $lang, $enc='utf-8') X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| compile($lang, $textdomain, $enc='utf-8', $plurals='nplurals=2; plural=n == 1 ? 0 : 1;') X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| initialize_translation($domain, $textdomain, $lang, $enc='utf-8') X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| update_translation($domain, $textdomain, $lang, $enc='utf-8') X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| add_to_dict($domain, $textdomain, $lang, $enc='utf-8', $plurals='nplurals=2; plural=n == 1 ? 0 : 1;') X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| convert_charset($domain, $textdomain, $lang, $from_charset, $to_charset) X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| xgettext($domain, $textdomain, $php_sources, $lang='untranslated') X-Ref |
| Invoke the xgettext utility with $args the xgettext executable must be in PATH param: string the commandline arguments to gettext return: unknown |
| execute($cmd) X-Ref |
| Enter description here... param: unknown_type $domain param: unknown_type $langdir |
| escCommand($command) X-Ref |
| No description |
| escPath($path) X-Ref |
| No description |
| header($charset='utf-8', $plurals='nplurals=2; plural=n == 1 ? 0 : 1;') X-Ref |
| No description |
| phpgettext() X-Ref |
| Enter description here... return: unknown |
| T_($message) X-Ref |
| No description |
| Tn_($msg1, $msg2, $count) X-Ref |
| No description |
| Td_($domain, $message) X-Ref |
| No description |
| Tdn_($domain, $msg1, $msg2, $count) X-Ref |
| No description |
| Generated: Wed Feb 8 00:05:01 2012 | Cross-referenced by PHPXref 0.7 |
| Mambo API: Mambo is Free software released under the GNU/General Public License, Version 2 |