How to have a home page block translated?

Hi,
I've in the home page of a Drupal8 site, some static blocks, like this:

Add mycontent

Now which is the best way, according to you, to translate the link from "/node/add/mycontent" to "/it/node/add/mycontent" and
the string "Add mycontent" ?
Should I duplicate the blocks for each language and then use the "Visibility language selection" option?

thank you

claudio

How to translate twig content?

Hi all,
I'm using this syntax, in custom Twig templates, to add the labels that should be translated when the user chooses another language:
{% trans %}Add deadline{% endtrans %}

Now where do I have to translate the label "Add deadline"?
I can't find it in Admin->Configuration-->User interface translation.

thank you very much

Claudio

Drupal 8 site moved; login impossible

Hi,
I developed a Drupal website in a subdirectory of my provider's webspace, and after completing it, I moved the site to root this morning.
After removing the subdir name in the settings.php and .htaccess the site is actually working!

Drupal 8 - Add taxonomy terms to search autocomplete

I have a Drupal 8 website with default search bar in my homepage. I have installed the Search Autocomplete extension to extend its functionality. Everything works great except it does not suggest taxonomy terms.

The default search block, does not search taxonomies, but search for the content which belongs to that taxonomy. Let me show you an example:

Example

Image

Drupal 8 - How to show UID in a wiew?

Hallo
I have a website where some holistic Operator work together.
I have create a content type Operator-Article for any operator.
I also created a blog-view to show the articles of each single operator.
This view uses as the parameter the UID of the article author (operator).

For example fore the operator 70

http://www.sorgenteancona.it/it/blog/70

I also created a view to show tle operators list in a table:
Photo | Name (link to curriculum page) | Read its articles (links to the blog-view)

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x