Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pimcore
Model
Translation
AbstractTranslation
addTranslation
Pimcore\Model\Translation\AbstractTranslation::addTranslation PHP Method
AbstractTranslation Class Documentation
Show file
Open project: pimcore/pimcore
addTranslation()
public
method
public
addTranslation
(
string
$language
,
string
$text
)
$language
string
$text
string
public function addTranslation($language, $text) { $this->translations[$language] = $text; }
AbstractTranslation
addTranslation
clearDependentCache
getByKey
getByKeyLocalized
getCreationDate
getDate
getForWebserviceExport
getFromWebserviceImport
getKey
getModificationDate
getTranslation
getTranslations
getValidTranslationKey
importTranslationsFromFile
save
setCreationDate
setDate
setKey
setModificationDate
setTranslations