<% current_langs = current_site.get_languages %>
<%= form_tag(admin_settings_languages_path, type: "post", id: "languages_form") do %>

<%= t('admin.settings.languages_configuration')%>


<% current_langs.each_with_index do |lang, index| %>
<%= t("languages.#{lang}") %> <%= "(#{t('admin.table.default')})" if index == 0 %>
<% end %>

<% current_langs.each do |lang| %>
 
<% end %> <% PluginRoutes.system_info["available_languages"].each do |lang| next if current_langs.include?(lang.to_sym) %>
 
<% end %>

<% clang = current_site.get_admin_language %> <% PluginRoutes.system_info["admin_available_languages"].each do |lang| %>
<% end %>
<% end %>