Add comment on how to use the translation template.txt

This commit is contained in:
rubenwardy 2024-03-03 17:56:58 +00:00
parent 5983b5c420
commit de1332c5e8

@ -28,6 +28,11 @@
</p>
<h3 id="template">{{ _("Translation template") }}</h3>
<p>
{{ _("To quickly add support for ContentDB package translation, create a file at %(location)s with the following content:",
location="<code>locale/template.txt</code>"|safe) }}
</p>
<pre><code># textdomain: {{ package.name }}
{{ package.title | replace("@", "@@") | replace("=", "@=") }} =