Create language files in templates

In order to translate or customize texts in a publishing template for a folder you can use the following approach.

Create "Code File" files with your text or HTML content

Click new and search for "Code":

You can place them directly in your site template folder:

Link your text elements in your template

<html>
    <head>
        <title>My template</title>
        <link href="Template.css" />
    </head>
    <body>
        <header>#include("##/Header.txt")#</header>
        <!-- More code here -->
        <article>
            #include("##/Welcome.txt")#
        </article>
        <!-- More code here -->
        <footer>#include("##/Footer.txt")#</footer>
    </body>
</html>

When using the template you can now replace texts

By placing files in the # folder with the exact same name as the template us linking you can override the files each of your sites:

The "Header.txt" file above is place in the # folder in a published site.