diff --git a/core/modules/language/config/tour.tour.language-add.yml b/core/modules/language/config/tour.tour.language-add.yml new file mode 100644 index 0000000..8c4a2ca --- /dev/null +++ b/core/modules/language/config/tour.tour.language-add.yml @@ -0,0 +1,40 @@ +id: language-add +module: language +label: Adding languages +langcode: en +paths: + - admin/config/regional/language/add +tips: + + languages-add-overview: + id: languages-add-overview + plugin: text + label: Adding languages + body:

This page provides the ability to add common languages to your site.

If the desired language is not available, you can add a custom language.

+ weight: "1" + + languages-add-choose: + id: languages-add-choose + plugin: text + label: Select language + body:

Choose a language from the list, or choose "Custom language..." at the end of the list.

+ weight: "2" + attributes: + data-id: edit-predefined-langcode + + languages-add-save: + id: languages-add-save + plugin: text + label: Add language + body:

Make sure to click the "Add language" button when you are done choosing your language.

You will get an additional form when adding a custom language where you can provide the language's name, code, and directionality.

+ weight: "3" + attributes: + data-id: edit-predefined-submit + + language-add-continue: + id: language-add-continue + plugin: text + label: Continuing on + body:

Now that you have an overview of the "Languages" add feature, you can continue by:

+ weight: "4" + diff --git a/core/modules/language/config/tour.tour.language-edit.yml b/core/modules/language/config/tour.tour.language-edit.yml new file mode 100644 index 0000000..22577df --- /dev/null +++ b/core/modules/language/config/tour.tour.language-edit.yml @@ -0,0 +1,67 @@ +id: language-edit +module: language +label: Editing languages +langcode: en +paths: + - admin/config/regional/language/edit/* +tips: + + languages-edit-overview: + id: languages-edit-overview + plugin: text + label: Editing languages + body:

This page provides the ability edit a language on your site including custom languages.

+ weight: "1" + + languages-edit-langcode: + id: languages-edit-langcode + plugin: text + label: Language code + body:

You cannot change the language's code on the site since it is used by the system to keep track of the language.

+ weight: "2" + attributes: + data-id: edit-langcode-view + + languages-edit-name: + id: languages-edit-name + plugin: text + label: Language name + body:

The language name is used throughout the site for all users and is typically written in the same language it represents.

+ weight: "3" + attributes: + data-id: edit-name + + languages-edit-direction: + id: languages-edit-direction + plugin: text + label: Language direction + body:

Choose if the language is a "Left to right" or "Right to left" language.

Note that not all themes support "Right to left" layouts so test your theme if you are using this directionality.

+ weight: "4" + attributes: + data-id: edit-direction + + languages-edit-english-trans: + id: languages-edit-english-trans + plugin: text + label: Allowing English translation + body:

By default, interface strings bundled with Drupal are in English. If you wish to change these English interface strings, enable this checkbox.

The "Interface Translation" module provides this feature.

+ weight: "5" + attributes: + data-id: edit-locale-translate-english + + languages-edit-save: + id: languages-edit-save + plugin: text + label: Save language + body:

Make sure to click the "Save language" button when you are done changing your language.

+ weight: "6" + attributes: + data-id: edit-submit + + language-edit-continue: + id: language-edit-continue + plugin: text + label: Continuing on + body:

Now that you have an overview of the "Edit language" page, you can continue by:

+ weight: "7" + diff --git a/core/modules/language/config/tour.tour.language.yml b/core/modules/language/config/tour.tour.language.yml new file mode 100644 index 0000000..bc32dd3 --- /dev/null +++ b/core/modules/language/config/tour.tour.language.yml @@ -0,0 +1,57 @@ +id: language +module: language +label: Language +langcode: en +paths: + - admin/config/regional/language +tips: + + languages-overview: + id: languages-overview + plugin: text + label: Languages + body:

The "Languages" page provides features for adding, editing, deleting, and reordering languages for the site.

This page also provides an overview of how much of the site's interface has been translated for each enabled language.

Note that interface translation is provided by the "Interface Translation" module available on the "Extend" page.

+ weight: "1" + + language-add: + id: language-add + plugin: text + label: Adding languages + body:

To add more languages to your site, click the "Add language" button.

After adding a new language, it will be displayed in the language list and can then be edited, reordered, and deleted.

+ weight: "2" + attributes: + data-class: action-links + + language-reorder: + id: language-reorder + plugin: text + label: Reordering languages + body:

To reorder the languages on your site, use the drag icons next to each language.

This order will determine the order in which languages are displayed in lists on the site such as in the language switcher blocks provided by the "Interface Translation" and "Content Translation" modules.

+ weight: "3" + attributes: + data-class: draggable + + language-save: + id: language-save + plugin: text + label: Saving changes + body:

If you reorder the languages, make sure to click the "Save configuration" button when you are done for the changes to take effect.

+ weight: "4" + attributes: + data-id: edit-submit + + language-operations: + id: language-operations + plugin: text + label: Modifying languages + body:

Operations are provided for editing and deleting your languages.

You can edit the language's name, code, and directionality.

Deleted languages can be added back at a later time. Note that you cannot delete the site's default language.

+ weight: "5" + attributes: + data-class: dropbutton-action + + language-continue: + id: language-continue + plugin: text + label: Continuing on + body:

Now that you have an overview of the "Languages" page, you can continue by:

+ weight: "7"