Modified to also work with qTranslate-X while keeping qTranslate and mqTranslate functionality