Initial Drupal 11 with DDEV setup
This commit is contained in:
17
web/core/modules/locale/help_topics/locale.import.html.twig
Normal file
17
web/core/modules/locale/help_topics/locale.import.html.twig
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
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> > <em>Region and language</em> > <em>User interface translation</em> > {{ 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>
|
||||
@ -0,0 +1,19 @@
|
||||
---
|
||||
label: 'Translating user interface text'
|
||||
related:
|
||||
- core.translations
|
||||
- locale.import
|
||||
- locale.translation_status
|
||||
- language.add
|
||||
---
|
||||
{% set translate_text %}{% trans %}User interface translation{% endtrans %}{% endset %}
|
||||
{% set translate_link = render_var(help_route_link(translate_text, 'locale.translate_page')) %}
|
||||
<h2>{% trans %}Goal{% endtrans %}</h2>
|
||||
<p>{% trans %}Translate user interface text strings from English into a non-English language that is configured on 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>Region and language</em> > {{ translate_link }}.{% endtrans %}</li>
|
||||
<li>{% trans %}Using the filters, search for a string or set of strings that you want to translate; make sure to select the correct <em>Translation language</em> if you have more than one non-English language on your site.{% endtrans %}</li>
|
||||
<li>{% trans %}Enter new translations and click <em>Save translations</em>.{% endtrans %}</li>
|
||||
<li>{% trans %}Repeat these steps until all of the desired user interface text is translated for all languages on your site.{% endtrans %}</li>
|
||||
</ol>
|
||||
@ -0,0 +1,21 @@
|
||||
---
|
||||
label: 'Checking interface translation status'
|
||||
related:
|
||||
- core.translations
|
||||
- locale.import
|
||||
- locale.translate_strings
|
||||
---
|
||||
{% set language_text %}{% trans %}Languages{% endtrans %}{% endset %}
|
||||
{% set translation_updates_text %}{% trans %}Available translation updates{% endtrans %}{% endset %}
|
||||
{% set language_link = render_var(help_route_link(language_text, 'entity.configurable_language.collection')) %}
|
||||
{% set translation_updates_link = render_var(help_route_link(translation_updates_text, 'locale.translate_status')) %}
|
||||
<h2>{% trans %}Goal{% endtrans %}</h2>
|
||||
<p>{% trans %}Check the current status of interface translations, and see if there are any updates available.{% endtrans %}</p>
|
||||
<h2>{% trans %}Steps{% endtrans %}</h2>
|
||||
<ol>
|
||||
<li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> > <em>Region and language</em> > {{ language_link }}.{% endtrans %}</li>
|
||||
<li>{% trans %}Look at the <em>Interface translation</em> column in the language table, to find the percentage of user interface text that has been translated for each language.{% endtrans %}</li>
|
||||
<li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Reports</em> > <em>{{ translation_updates_link }}</em>. This report is only available if the core Update Status module is installed.{% endtrans %}</li>
|
||||
<li>{% trans %}Optionally, click <em>Check manually</em> to update the report.{% endtrans %}</li>
|
||||
<li>{% trans %}View the report to find out if any languages have translation updates that you can download.{% endtrans %}</li>
|
||||
</ol>
|
||||
Reference in New Issue
Block a user