{% trans_default_domain 'admin' %}
{% set allLocales = website().configuration.allLocales %} {% set total = 0 %} {% for locale, domains in translations %} {% for domainName, domainTranslations in domains %} {% set total = total + domainTranslations|length %} {% endfor %} {% endfor %}

{{ "Synchronisation de la base de données"|trans }}

0/{{ total }} {{ "clés de traductions"|trans }}
{% for domain, locales in translations %} {% if domain != '_undefined' %} {% set isFirst = true %} {% for locale, localeTranslations in locales %} {% if locale in allLocales %}
{% if allLocales|length > 1 %} {% endif %} {{ domain|trans }} 0/{{ localeTranslations|length }}
    {% for keyName, content in localeTranslations %} {% set path = path('admin_translation_generate', {"website": websiteId(), "locale": locale, 'domain': domain|url_encode, 'keyName': keyName|url_encode, 'content': content|url_encode}) %}
  • {# {{ path }}#}
  • {% endfor %} {% set isFirst = false %}
{% endif %} {% endfor %} {% endif %} {% endfor %}