This looks good, the only thing I would do instead is have a function to set the language and then declare this class in services and pass it as a dependency to the operator.