Sign in

Translating the default tag called “ALL”

  • This topic has 3 replies, 2 voices, and was last updated 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6977
    Avatar photoalexandre

    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 photoalexandre

    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 photoshaun2k

    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 photoalexandre

    Hi shaun2k!

    Thank you for your tip!

    I really did not notice this option.

    Your solution is better than mine!

     

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.