language.add.html.twig

Same filename in other branches
  1. 10 core/modules/language/help_topics/language.add.html.twig
  2. 11.x core/modules/language/help_topics/language.add.html.twig
---
label: 'Adding a language'
related:
  - core.translations
  - language.detect
---
{% set languages_text %}{% trans %}Languages{% endtrans %}{% endset %}
{% set languages_link = render_var(help_route_link(languages_text, 'entity.configurable_language.collection')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Add a language to your site.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Regional and language</em> &gt; {{ languages_link }}.{% endtrans %}</li>
  <li>{% trans %}Click <em>Add language</em>.{% endtrans %}</li>
  <li>{% trans %}If your language is in the <em>Language name</em> list, select it and click <em>Add language</em>.{% endtrans %}</li>
  <li>{% trans %}If your language is not in the list, select <em>Custom language...</em> and enter the <em>Language code</em>, <em>Language name</em>, and <em>Direction</em> for the language. Click <em>Add custom language</em>.{% endtrans %}</li>
  <li>{% trans %}Wait for the translation system to be updated. Also, if you have the core Update Manager module installed and translations are available for your language, wait for translations to be downloaded. You should be returned to the <em>Languages</em> page when this completes.{% endtrans %}</li>
</ol>

File

core/modules/help_topics/help_topics/language.add.html.twig

View source
  1. ---
  2. label: 'Adding a language'
  3. related:
  4. - core.translations
  5. - language.detect
  6. ---
  7. {% set languages_text %}{% trans %}Languages{% endtrans %}{% endset %}
  8. {% set languages_link = render_var(help_route_link(languages_text, 'entity.configurable_language.collection')) %}
  9. <h2>{% trans %}Goal{% endtrans %}</h2>
  10. <p>{% trans %}Add a language to your site.{% endtrans %}</p>
  11. <h2>{% trans %}Steps{% endtrans %}</h2>
  12. <ol>
  13. <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>Regional and language</em> &gt; {{ languages_link }}.{% endtrans %}</li>
  14. <li>{% trans %}Click <em>Add language</em>.{% endtrans %}</li>
  15. <li>{% trans %}If your language is in the <em>Language name</em> list, select it and click <em>Add language</em>.{% endtrans %}</li>
  16. <li>{% trans %}If your language is not in the list, select <em>Custom language...</em> and enter the <em>Language code</em>, <em>Language name</em>, and <em>Direction</em> for the language. Click <em>Add custom language</em>.{% endtrans %}</li>
  17. <li>{% trans %}Wait for the translation system to be updated. Also, if you have the core Update Manager module installed and translations are available for your language, wait for translations to be downloaded. You should be returned to the <em>Languages</em> page when this completes.{% endtrans %}</li>
  18. </ol>

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