Allow Translator extension

Not tested yet.
Change getAttribute call