Home > widget-integration > ProductService > translateWithComponent
ProductService.translateWithComponent() method
Signature:
protected translateWithComponent(template: string, variables: Record<string, string>): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
template |
string | |
|
variables |
Record<string, string> |
Returns:
string