Taxonomy term entity translations

Hello,

I have in Drupal 8.5.5 Twig template this variable - it´s taxonomy term entity in field:

{{ node.field_category.0.entity.label }}

I need this field multilanguage - now I have it everytime only in default language. 

Thank you

Karaya

Pernod Ricard Goes D2C with Drupal and Shopify Plus Integration

Pernod Ricard knows that directly embracing consumers is the deciding factor for which company will lead the adult beverage market. The new Drinks & Co meets customers where they’re at — the brand’s D2C wine and champagne play engages millennials on their native turf and inspires sommeliers with all the juicy details.

Sectors: 
E-Commerce

Drupal 8 developer in Virginia

Need help for a contract position in Northern Virginia (DC Metro). Long contract, please ping if you are interested. Thanks

AJAX Form not Working Without Cache Clear

I'm trying to build module that adds a form to a select number of pages. This form needs to submit via AJAX and return a value. Everything is working great except initially the form submits to <code>submitForm()</code> instead of the AJAX callback. Clearing the cache allows the form to submit to AJAX but will eventually go back to submitting without AJAX Again.

Here's my form:

How to exclude the last node

For a blog type I created a block with the last node and a second block which needs to list the 2nd to the 4th last node. How can i exclude that last node in the 2nd block?

Example: http://www.yagolf.be

Nieuwsartikel 4 is the last published node
Nieuwsartikel 4 should not return in the block underneath.

order of publishing:
nieuws 1
nieuws 2
nieuws 3
nieuwsartikel 4

regards,
Matthias

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x