Post by opensab677 » Thu Apr 19, 2018 4:44 pm

In my opencart 3.0.2 > footer.twig I have these lines
<li><a href='index.php?route=information/information&information_id=5'>Terms & Conditions</a></li>
<li><a href='index.php?route=information/information&information_id=3'>Privacy Policy</a></li>
<li><a href='index.php?route=information/information&information_id=6'>Shipping</a></li>
<li><a href='index.php?route=information/information&information_id=7'>Secure payments</a></li>
<li><a href='index.php?route=information/information&information_id=4'>About us</a></li>

In this way works only translation in english. Which syntax to use for multilingual site. When I switch to italian lang I see always english words but in Catalog > information I have correctly translated every page and enabled seo url in settings.
What I wrong?
thanks

New member

Posts

Joined
Mon Sep 04, 2017 7:54 pm

Post by xxvirusxx » Thu Apr 19, 2018 5:20 pm

Why you have changed from this?

Code: Select all

      {% if informations %}
      <div class="col-sm-3">
        <h5>{{ text_information }}</h5>
        <ul class="list-unstyled">
         {% for information in informations %}
          <li><a href="{{ information.href }}">{{ information.title }}</a></li>
          {% endfor %}
        </ul>
      </div>
      {% endif %}

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by opensab677 » Thu Apr 19, 2018 6:02 pm

Now I have understood. Thanks for your tip.

New member

Posts

Joined
Mon Sep 04, 2017 7:54 pm
Who is online

Users browsing this forum: No registered users and 13 guests