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 %}

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

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: Bing [Bot], Semrush [Bot] and 159 guests