From b69fca14e76a2f5db0cd0924fe5e7056e94771b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 15:49:37 -0800 Subject: initial doco --- doc/html/language_8php.html | 212 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 212 insertions(+) create mode 100644 doc/html/language_8php.html (limited to 'doc/html/language_8php.html') diff --git a/doc/html/language_8php.html b/doc/html/language_8php.html new file mode 100644 index 000000000..8a0823d3c --- /dev/null +++ b/doc/html/language_8php.html @@ -0,0 +1,212 @@ + + + + + + +The Red Project: include/language.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Project +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
language.php File Reference
+
+
+ + + + + + + + + + +

+Functions

if(!function_exists('get_browser_language')) get_best_language ()
 
 push_lang ($language)
 
 pop_lang ()
 
if(!function_exists('load_translation_table'))
+if(!function_exists('t')) if(!function_exists('tt'))
+if(!function_exists('string_plural_select_default')) 
detect_language ($s)
 
+

Function Documentation

+ +
+
+ + + + + + + + +
if (!function_exists('load_translation_table')) if (!function_exists('t')) if (!function_exists('tt')) if (!function_exists('string_plural_select_default')) detect_language ( $s)
+
+ +

Referenced by item_store().

+ +
+
+ +
+
+ + + + + + + +
if (!function_exists('get_browser_language')) get_best_language ()
+
+

translation support

+

Get the language setting directly from system variables, bypassing get_config() as database may not yet be configured.

+

If possible, we use the value from the browser.

+ +

Referenced by create_account().

+ +
+
+ +
+
+ + + + + + + +
pop_lang ()
+
+
+ +
+
+ + + + + + + + +
push_lang ( $language)
+
+
+
+
+ + + + -- cgit v1.2.3