trait UpdateTranslationTrait

Trait UpdateTranslationTraitNew Trait responsible for updating existing translations

Methods

array
updateProductTranslations(stdClass $content)

Updating product translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on ProductTranslation entity

array
updateCategoryTranslations(stdClass $content)

Updating category translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on CategoryTranslation entity

array
updateAttrSetTranslation(stdClass $content)

Updating attribute set translations All translations are saved to corresponding yml files

array
updateAttrTranslation(stdClass $content)

Updating attribute translations All translations are saved to corresponding yml files

updateAttrValueTranslation(array $content)

Updating attribute value translations All translations are saved to corresponding yml files

array
updateBrandTranslation(stdClass $content)

Updating brand translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on BrandTranslation entity

array
updateProductSeoTranslations(stdClass $content)

Updating product seo translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on ProductTranslation entity

Details

at line 39
array updateProductTranslations(stdClass $content)

Updating product translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on ProductTranslation entity

Parameters

stdClass $content

Return Value

array

See also

ProductTranslation

at line 112
array updateCategoryTranslations(stdClass $content)

Updating category translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on CategoryTranslation entity

Parameters

stdClass $content

Return Value

array

See also

CategoryTranslation

at line 188
array updateAttrSetTranslation(stdClass $content)

Updating attribute set translations All translations are saved to corresponding yml files

Parameters

stdClass $content

Return Value

array

at line 225
array updateAttrTranslation(stdClass $content)

Updating attribute translations All translations are saved to corresponding yml files

Parameters

stdClass $content

Return Value

array

at line 259
updateAttrValueTranslation(array $content)

Updating attribute value translations All translations are saved to corresponding yml files

Parameters

array $content

at line 297
array updateBrandTranslation(stdClass $content)

Updating brand translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on BrandTranslation entity

Parameters

stdClass $content

Return Value

array

Exceptions

Exception

See also

BrandTranslation

at line 376
array updateProductSeoTranslations(stdClass $content)

Updating product seo translations All translations are saved to corresponding yml files Translations are saved on entity for default language, otherwise on ProductTranslation entity

Parameters

stdClass $content

Return Value

array

See also

ProductTranslation