%li
  =link_to product_category.lang(I18n.locale).name, public_product_category_path(:id => product_category.id, :slug => product_category.lang(I18n.locale).slug), :class => ("active" if @product_category and product_category.id == @product_category.id) if product_category.lang(I18n.locale).slug?

  %ul
    = render product_category.children.order(:position)