language.add.html.twig
Same filename in other branches
--- 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> > <em>Regional and language</em> > {{ 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
- ---
- 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> > <em>Regional and language</em> > {{ 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>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.