protected addTranslate ( Aimeos\MW\View\Iface $view, string | null $locale ) : Aimeos\MW\View\Iface | ||
$view | Aimeos\MW\View\Iface | View object |
$locale | string | null | ISO language code, e.g. "de" or "de_CH" |
return | Aimeos\MW\View\Iface | Modified view object |