Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Translating the default tag called “ALL”

  • #6977
    Avatar photo[anonymous]

    Hello!

    The Mercury Theme has a default tag called “ALL”.

    How can I translate this word (ALL) to my language?

    It is not among the choices on the lang file …

    Thank you for any help.

    #6978
    Avatar photo[anonymous]

    Hello again!

    I am happy to share my second tip with the community!

    I discovered by myself how to solve this question.

    All we need to do is go to this directory:

    /home/the-user-directory/Documents/Publii/sites/name-of-the-site/input/themes/mercury/

    With a text editor, open this file:

    index.hbs

    Find the following piece of code:

    <button class="filter__item is-active" data-filter="*">{{{things-among-here}}}</button>

    Then, type the desired text inside the <button></button> :

    <button class="filter__item is-active" data-filter="*">Tudo</button>

    That’s it!

    #6979
    Avatar photo[anonymous]

    Hi, Alexandre.

    In the “Mercury” theme, you can change the “All” in

    Theme > Custom settings > Layout > Enable filters > Phrase for ‘All’

    Filter-by-ALL

    #6986
    Avatar photo[anonymous]

    Hi shaun2k!

    Thank you for your tip!

    I really did not notice this option.

    Your solution is better than mine!