{#** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *#} {% import '@PrestaShop/Admin/macros.html.twig' as ps %} {{ form_start(languageForm) }}

language {{ 'Languages'|trans({}, 'Admin.Global') }}

{{ form_errors(languageForm) }} {{ ps.form_group_row(languageForm.name, {}, { 'label': 'Name'|trans({}, 'Admin.Global') }) }} {{ ps.form_group_row(languageForm.iso_code, { 'attr': { 'maxlength': 2 } }, { 'label': 'ISO code'|trans({}, 'Admin.International.Feature'), 'help': 'Two-letter ISO code (e.g. FR, EN, DE).'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.tag_ietf, { 'attr': { 'maxlength': 5 } }, { 'label': 'Language code'|trans({}, 'Admin.International.Feature'), 'help': 'IETF language tag (e.g. en-US, pt-BR).'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.short_date_format, {}, { 'label': 'Date format'|trans({}, 'Admin.International.Feature'), 'help': 'Short date format (e.g., Y-m-d).'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.full_date_format, {}, { 'label': 'Date format (full)'|trans({}, 'Admin.International.Feature'), 'help': 'Full date format (e.g., Y-m-d H:i:s).'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.flag_image, {}, { 'label': 'Flag'|trans({}, 'Admin.International.Feature'), 'help': 'Upload the country flag from your computer.'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.no_picture_image, {}, { 'label': '"No-picture" image'|trans({}, 'Admin.International.Feature'), 'help': 'Image is displayed when "no picture is found".'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.is_rtl, {}, { 'label': 'Is RTL language'|trans({}, 'Admin.International.Feature'), 'help': 'Enable if this language is read from right to left.'|trans({}, 'Admin.International.Help') ~ '(Experimental: your theme must be compliant with RTL languages).'|trans({}, 'Admin.International.Help') }) }} {{ ps.form_group_row(languageForm.is_active, {}, { 'label': 'Status'|trans({}, 'Admin.Global'), 'help': 'Activate this language.'|trans({}, 'Admin.International.Feature') }) }} {% if languageForm.shop_association is defined %} {{ ps.form_group_row(languageForm.shop_association, {}, { 'label': 'Shop association'|trans({}, 'Admin.Global') }) }} {% endif %} {% block language_form_rest %} {{ form_rest(languageForm) }} {% endblock %}
{{ form_end(languageForm) }}