- <% if @user && @user == current_user || !@user && current_user %>
- <li><%= link_to image_tag("new.png", :class => "small_icon") + t(".new"), new_diary_entry_path, :title => t(".new_title") %></li>
+ <% @languages&.each do |language| %>
+ <li><%= link_to t(".in_language_title", :language => language.name), :action => "index", :language => language.code %></li>