Use static method to check if language associations id enabled

@infograf768 has to review if this is correct and create the required issues