locale.import.html.twig

Same filename in other branches
  1. 9 core/modules/help_topics/help_topics/locale.import.html.twig
  2. 10 core/modules/locale/help_topics/locale.import.html.twig
---
label: 'Importing a translation file'
related:
- core.translations
- locale.translation_status
- locale.translate_strings
---
{% set import_text %}{% trans %}Import{% endtrans %}{% endset %}
{% set import_link = render_var(help_route_link(import_text, 'locale.translate_import')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Import a file (.po extension) containing translations for user interface text.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Region and language</em> &gt; <em>User interface translation</em> &gt; {{ import_link }}.{% endtrans %}</li>
  <li>{% trans %}Browse to find the <em>Translation file</em> you want to import. Select the language and check the desired import options.{% endtrans %}</li>
  <li>{% trans %}Click <em>Import</em> and wait for your file to be imported.{% endtrans %}</li>
</ol>

File

core/modules/locale/help_topics/locale.import.html.twig

View source
  1. ---
  2. label: 'Importing a translation file'
  3. related:
  4. - core.translations
  5. - locale.translation_status
  6. - locale.translate_strings
  7. ---
  8. {% set import_text %}{% trans %}Import{% endtrans %}{% endset %}
  9. {% set import_link = render_var(help_route_link(import_text, 'locale.translate_import')) %}
  10. <h2>{% trans %}Goal{% endtrans %}</h2>
  11. <p>{% trans %}Import a file (.po extension) containing translations for user interface text.{% endtrans %}</p>
  12. <h2>{% trans %}Steps{% endtrans %}</h2>
  13. <ol>
  14. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Region and language</em> &gt; <em>User interface translation</em> &gt; {{ import_link }}.{% endtrans %}</li>
  15. <li>{% trans %}Browse to find the <em>Translation file</em> you want to import. Select the language and check the desired import options.{% endtrans %}</li>
  16. <li>{% trans %}Click <em>Import</em> and wait for your file to be imported.{% endtrans %}</li>
  17. </ol>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.