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.

Translation of a theme Editorial 2 don´t work

  • #5681
    Avatar photo[anonymous]

    Hello @all

    I have a problem with the translation of a theme.
    Publii is installed in version 0.38.2 (0.38.2), and the theme Editorial 2 in version 1.0.3.0.
    I use macOS version 10.15.7 (Catalina) as my system.

    I have edit the editorial-2.lang.json file and saved it. I have completely re-rendered the page and uploaded it again.

    Loading the page in a private window did not help either.

    Unfortunately, the changes were not adopted.

    Have I overlooked something?

    Many thanks for your help.
    Stay healthy.

    #5682
    Avatar photoBob

    Maybe you’re editing it in the wrong place? The correct file path is in the following location:‎⁨ Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME

    To preserve your custom language sentences and prevent them from being overwritten the next time the theme is updated, please ensure that you have created override files; these are, essentially, copies of the existing language file that are stored separately from the main theme files → https://getpublii.com/dev/translations-api/

    #5685
    Avatar photo[anonymous]

    Hello Bob,

    That was it! 👍

    Thanks