Class Mage_Core_Model_Translate
Translate model
Package: Mage\Core
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Core/Model/Translate.php
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Core/Model/Translate.php
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
protected
|
#
_loadModuleTranslation( string $moduleName, string $files, mixed $forceReload = false )
Loading data from module translation files |
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
array
|
|
public
array
|
|
public
string
|
|
public
|
|
public
unknown
|
|
public
Zend_Translate_Adapter
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
string
|
#
getTemplateFile( string $file, string $type, string $localeCode = null )
Retrive translated template file |
public
string
|
|
protected
array
|
|
protected
|
|
protected
boolean
|
|
protected
string
|
string |
CSV_SEPARATOR
|
',' |
|
string |
SCOPE_SEPARATOR
|
'::' |
|
string |
CACHE_TAG
|
'translate' |
|
string |
CONFIG_KEY_AREA
|
'area' |
|
string |
CONFIG_KEY_LOCALE
|
'locale' |
|
string |
CONFIG_KEY_STORE
|
'store' |
|
string |
CONFIG_KEY_DESIGN_PACKAGE
|
'package' |
|
string |
CONFIG_KEY_DESIGN_THEME
|
'theme' |
protected
string
|
$_locale |
|
#
Locale name |
protected
Zend_Translate_Adapter
|
$_translate |
|
#
Translation object |
protected
array
|
$_config |
|
#
Translator configuration array |
protected
boolean
|
$_useCache | true |
|
protected
string
|
$_cacheId |
|
#
Cache identifier |
protected
array
|
$_data | array() |
#
Translation data |
protected
array
|
$_dataScope |
|
#
Translation data for data scope (per module) |
protected
boolean
|
$_translateInline |
|
#
Configuration flag to enable inline translations |
protected
boolean
|
$_canUseInline | true |
#
Configuration flag to local enable inline translations |