Preferred language in management panel is only shown for SSO users
Due to a bug, it is not possible to see the language of external users.
<% if @user.sso_profile.present? %>
<tr>
<td><strong><%= SsoProfile.human_attribute_name :netid %></strong></td>
<td>
<%= @user.netid %>
</td>
</tr>
<% if @user.role_student? %>
<tr>
<td><strong><%= SsoProfile.human_attribute_name :student_number %></strong></td>
<td>
<%= @user.student_number %>
</td>
</tr>
<tr>
<td><strong><%= User.human_attribute_name :student_type %></strong></td>
<td>
<%= @user.human_student_type %>
</td>
</tr>
<% end %>
<tr>
<td><strong><%= User.human_attribute_name :preferred_language %></strong></td>
<td><%= human_locale @user.preferred_language %></td>
</tr>
<% end %>