Add a missing type hinting in Translation::setLocale()