I want to use Angular\'s translations into component files and I\'ve seen that the best way for this is to use the $localize() function like this:
export