Syntax highlighting and placeholders validation for Django. Install the add-on to prevent the translators from working with untranslatable code parts.
Note: It's recommended to internationalize your templates and extract texts into resource files. If internationalization is not the case for your project (for example you need to translate email templates), please check the rest of this guide.
Make sure you don't have translatable texts inside your Django expressions, translators won't be able to edit them.
{% if articles|length %}
{% for article in articles %}
{% custom %}
{# Striped table #}
<tr class="{% cycle odd,even %}">
<td>{{ article|default:"Hi... " }}</td>
<td {% if article.today %}class="today"{% endif %}>
Published on {{ article.date }}
</td>
</tr>
{% endfor %}
{% endif %}
Crowdin is a platform that helps you manage and translate content into different languages. Integrate Crowdin with your repo, CMS, or other systems. Source content is always up to date for your translators, and translated content is returned automatically.
Learn MoreReleased on May 30, 2022
Updated on Aug 23, 2023
Published by Awesome Crowdin
Identifier:django