Change prop values according to change language



i have 2 languages i need to implement.
1 lang is right to left and the 2nd lang is left to right.
accordong to that, i need to change all menu’s direction. exp: ion menu - change side from right to left.
can i do it by creating service? how to impelement it?
(for the words i use ngx-translate wich works great).

<ion-menu [content]=“nav” side=“right”>