diff --git a/core/modules/language/language.module b/core/modules/language/language.module index 4d82508..d96480a 100644 --- a/core/modules/language/language.module +++ b/core/modules/language/language.module @@ -23,13 +23,27 @@ 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 Drupal site for providing language information for content and for interface translation (using the Locale module). For more information, see the online handbook entry for Language module.', array('@language' => 'http://drupal.org/documentation/modules/language')) . '

'; + $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('Configuring the list of languages') . '
'; - $output .= '
' . t('Configure the list of languages either using the built-in language list or providing any custom languages you wish.', array('@configure-languages' => url('admin/config/regional/language'))) . '
'; - $output .= '
' . t('Configuring a multilingual site') . '
'; - $output .= '
' . t("Language negotiation allows your site to automatically change language based on the domain or path used for each request. Users may (optionally) select their preferred language on their My account page, and your site can be configured to honor a web browser's preferred language settings. Site content can be translated using the Content Translation module.", array('@content-help' => url('admin/help/translation'))) . '
'; + $output .= '
' . t('Adding languages') . '
'; + $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('Customizing content languages 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 .= '
'; $output .= '
'; return $output;