diff --git a/core/modules/language/language.module b/core/modules/language/language.module index 4a4c8ba..d96480a 100644 --- a/core/modules/language/language.module +++ b/core/modules/language/language.module @@ -23,26 +23,26 @@ function language_help($path, $arg) { case 'admin/help#language': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Language module allows you to maintain a list of languages used on your site for content and interface elements. It provides language information to the Content Translation and Interface Translation modules. For more information, see the online documentation for the Language module.', array('!doc_url' => 'https://drupal.org/documentation/modules/language', '!content_translation' => \Drupal::url('help.page', array('name' => 'content_translation')), '!interface_translation' => \Drupal::url('help.page', array('name' => 'locale')))) . '

'; + $output .= '

' . t('The Language module allows you to configure the languages used on your site, and provides information for the for Content Translation, Interface Translation, and Configuration Translation modules, if they are enabled. For more information, see the online documentation for the Language module.', array('!doc_url' => 'https://drupal.org/documentation/modules/language', '!content' => \Drupal::url('help.page', array('name' => 'content_translation')), '!interface' => \Drupal::url('help.page', array('name' => 'locale')), '!configuration' => \Drupal::url('help.page', array('name' => 'configuration_translation')))) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Adding languages') . '
'; - $output .= '
' . t('You can add languages on the Languages List page by clicking on Add language and choosing a language from the drop-down menu. This language is then displayed in the Languages List, where it can be configured further. If the Interface Translation module is installed, then interface translation for this language is automatically downloaded as well.' , array('!language_list' => \Drupal::url('language.admin_overview'), '!interface' => \Drupal::url('help.page', array('name' => 'locale')))) . '
'; + $output .= '
' . t('You can add languages on the Languages page by clicking on Add language and choosing a language from the drop-down menu. This language is then displayed in the languages list, where it can be configured further. If the Interface Translation module is installed, then interface translation for this language is automatically downloaded as well.' , array('!language_list' => \Drupal::url('language.admin_overview'), '!interface' => \Drupal::url('help.page', array('name' => 'locale')))) . '
'; $output .= '
' . t('Adding custom languages') . '
'; - $output .= '
' . t('You can add a language that is not provided in the drop-down list by choosing Custom language at the end of the list. You then have to configure its language code, name and direction in the form provided.') . '
'; + $output .= '
' . t('You can add a language that is not provided in the drop-down list by choosing Custom language at the end of the list. You then have to configure its language code, name, and direction in the form provided.') . '
'; $output .= '
' . t('Customizing content languages settings') . '
'; - $output .= '
' . t('By default content is created in the site\'s default language and no language selector is displayed on the content creation pages. On the Content Language page you can customize the language settings for any supported content element of your site (for example for content types or user profiles). After choosing a content element, you are provided with a drop-down menu to set the default language and a tick box to display language selectors.', array('!content_language' => \Drupal::url('language.content_settings_page'))) . '
'; - $output .= '
' . t('Making blocks visible per language') . '
'; - $output .= '
' . t('The Language module adds an option to toggle the visibilty of a block based on selected languages when you configure a block on the Block layout page.', array('!blocks' => \Drupal::url('block.admin_display'))) . '
'; - $output .= '
' . t('Setting the default or fallback language') . '
'; - $output .= '
' . t('The default language for the site is set during the initial installation. It is not recommended to change this on a production site, but it is possible to do so at the Regional settings page. The better option is to select a language as fallback option on the Detection and selection page.', array('!detection' => \Drupal::url('language.negotiation'), '!regional' => \Drupal::url('system.regional_settings'))) . '
'; + $output .= '
' . t('By default content is created in the site\'s default language and no language selector is displayed on content creation pages. On the Content language page you can customize the language settings for any supported content entity of your site (for example for content types or menu links). After choosing an entity, you are provided with a drop-down menu to set the default language and a checkbox to display language selectors.', array('!content_language' => \Drupal::url('language.content_settings_page'))) . '
'; + $output .= '
' . t('Adding a language switcher block') . '
'; + $output .= '
' . t('If the Blocks module is enabled, then you can add a language switcher block on the Block layout page to your site to allow users to switch between languages.', array('!blocks' => \Drupal::url('block.admin_display'), '!block-help' => \Drupal::url('help.page', array('name' => 'blocks')))) . '
'; + $output .= '
' . t('Making a block visible per language') . '
'; + $output .= '
' . t('The Language module adds an option to set the visibilty of a block based on selected languages when you configure a block on the Block layout page.', array('!blocks' => \Drupal::url('block.admin_display'))) . '
'; $output .= '
' . t('Language detection and selection'); - $output .= '
' . t('The Detection and Selection page provides several methods by which the site detects in which language to display interface text. Your can arrange the methods so that your prefered method is applied first, and a fallback option last.'); - $output .= '
'; return $output;