[bisq-network/bisq-website] New multilanguage system (#260)

erciccione notifications at github.com
Thu Oct 3 08:38:45 UTC 2019


erciccione commented on this pull request.



>            <div class="dropdown-item btn-icon">
             <div class="float-right">
-              <a href="{{ page.url }}" hreflang="{{ page.lang }}">{{ page.language }} {{ page.flag }}</a>
+               {% if item.tag == "en" %}
+               <a href="/">{{ item.name }} {{ item.flag }}</a>
+			   {% else %}
+			   <!-- we use the 'tag' variable in languages.yml to redirect to the correct page -->
+			   <a href="/{{ item.tag}}/" hreflang="{{ site.lang }}">{{ item.name }} {{ item.flag }}</a>

Yes. Now remember it was mentioned during the call. If it's not a big deal we can have this merged first and fix that issue after.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-website/pull/260#discussion_r330922813
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191003/cbe3344b/attachment.html>


More information about the bisq-github mailing list