{%- extends 'base_templates/page_base_half.html' %} {%- block content %} {%- from "base_templates/form_macros.html" import render_field, render_file_field, render_select_field, render_submit_field with context %} {%- if fields %}

{{ word('Fields from %s template' % (file_type.upper(),)) }}

{{ word('Here is the start of a question you can use to assemble the %s template.' % (file_type.upper(),)) }}

{%- if file_type == 'docx' %}

{{ word("Note that you can use a DOCX template file directly; 'fields' is only necessary in the rare case when the variable names in your DOCX file do not correspond with the variable names in your interview.") }}

{%- endif %}
{{ fields }}
{%- endif %} {%- if word_box %}

{{ word('Draft translation of system phrases') }}

{{ word("Here is the start of a YAML file you can import with a 'words' directive in your Configuration.") }}

{{ word("Copy from here and paste into a YAML file, e.g., in the Sources folder of the Playground or the sources folder of a package.") }}

{% if uses_null %}

{{ word("Replace each instance of Null with a quoted translation.") }}

{%- endif %} {%- endif %}

{{ word('Get list of fields from PDF/DOCX template') }}

{{ form.hidden_tag() }} {{ render_file_field(form.pdfdocxfile, accept=".docx,.pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/pdf") }} {{ render_submit_field(form.scan) }}

{{ word('Translate system phrases into another language') }}

{{ form.hidden_tag() }} {{ render_field(form.language, placeholder=language_placeholder, right_message='' + word("List of ISO-639-1 language codes") + '') }} {{ render_select_field(form.systemfiletype) }} {{ render_submit_field(form.language_submit, data={'disable-button': 0}) }}

{{ word('Download an interview phrase translation file') }}

{{ form.hidden_tag() }} {{ render_field(form.interview, placeholder=interview_placeholder) }} {{ render_field(form.tr_language, placeholder=language_placeholder, right_message='List of ISO-639-1 language codes') }} {{ render_select_field(form.filetype) }} {{ render_submit_field(form.interview_submit, data={'disable-button': 0}) }}

{{ word('Download Office add-in manifest file') }}

{{ form.hidden_tag() }} {{ render_field(form.officeaddin_version) }} {{ render_submit_field(form.officeaddin_submit) }}
{% endblock %}