System.I18N
[ class tree: System.I18N ] [ index: System.I18N ] [ all elements ]

Procedural File: Translation.php

Source Location: /I18N/Translation.php



Page Details:

Translation, static.

This program is free software; you can redistribute it and/or modify it under the terms of the BSD License.

Copyright(c) 2004 by Xiang Wei Zhuo.

To contact the author write to Qiang Xue The latest version of PRADO can be obtained from: http://prado.sourceforge.net/




version:  $Revision: 1.7 $ $Date: 2005/08/27 03:21:12 $
author:  Xiang Wei Zhuo <weizhuo[at]gmail[dot]com>


Includes:

require_once(dirname(__FILE__).'/core/MessageFormat.php') [line 23]
Get the MessageFormat class.







localize [line 123]

string localize( string $text, [array $parameters = array()], [string $catalogue = null], [string $charset = null])

Localize a text to the locale/culture specified in the globalization handler.



return:  localized text.
see:  TTranslate::init()
see:  TTranslate::formatter()


Parameters

string   $text   text to be localized.
array   $parameters   a set of parameters to substitute.
string   $catalogue   a different catalogue to find the localize text.
string   $charset   the input AND output charset.
[ Top ]



© 2004-2005 PRADO Software Group. All Rights Reserved.