Fix languages not being initialized properly