create custom translate directive code example Example: ngx translate angular 9 npm install @ngx-translate/core --save