Fix language aliases not being registered.

The registerLanguage function should retrieve the aliases information
from the language instance, NOT the language constructor.

Did this ever work before?