changed language implementation of pdf-rotator