diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module index 9f1ab1c..19fda95 100644 --- a/core/modules/content_translation/content_translation.module +++ b/core/modules/content_translation/content_translation.module @@ -24,20 +24,19 @@ function content_translation_help($path, $arg) { case 'admin/help#content_translation': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . t('The Content Translation module allows content to be translated into different languages. Working with the Interface Translation module (which provides translation for the site interface) and Language module (which manages enabled languages), the Content Translation module is key to creating and maintaining translated site content. For more information, see the online handbook entry for Content Translation.', array('!locale' => \Drupal::url('help.page', array('name' => 'locale')), '!language' => \Drupal::url('help.page', array('name' => 'language')), '!translation-entity' => 'https://drupal.org/documentation/modules/content_translation')) . '

'; + $output .= '

' . t('The Content Translation module allows content to be translated into different languages. Working with the Interface Translation and the Configuration Translation modules (which provide translation for the site interface and configuration if they are enabled) and Language module (which manages languages), the Content Translation module is key to creating and maintaining translated site content. For more information, see the online documentation for the Content Translation module.', array('!locale' => (\Drupal::moduleHandler()->moduleExists('locale')) ? \Drupal::url('help.page', array('name' => 'locale')) : '#', '!config-trans' => (\Drupal::moduleHandler()->moduleExists('config_translation')) ? \Drupal::url('help.page', array('name' => 'config_translation')) : '#', '!language' => \Drupal::url('help.page', array('name' => 'language')), '!translation-entity' => 'https://drupal.org/documentation/modules/content_translation')) . '

'; $output .= '

' . t('Uses') . '

'; $output .= '
'; - $output .= '
' . t('Enabling translation') . '
'; - $output .= '

' . t('Before you can translate content, there must be at least two languages added on the languages administration page.', array('!url' => \Drupal::url('language.admin_overview'))) . '

'; - $output .= '

' . t('After adding languages, configure translation on the Content Translation page.', array('!translation-entity' => \Drupal::url('language.content_settings_page'))) . '

'; + $output .= '
' . t('Enabling translation for content entities') . '
'; + $output .= '
' . t('In order to translate content, there must be at least two languages listed on the Languages page. You then need configure which content entities can be translated on the Content Translation page. For more information on languages, see the Languages help page.' , array('!url' => \Drupal::url('language.admin_overview'), '!translation-entity' => \Drupal::url('language.content_settings_page'), '!language-help' => \Drupal::url('help.page', array('name' => 'language')))) . '
'; + $output .= '
' . t('Configuring content field translation') . '
'; + $output .= '
' . t('You can restrict which fields of a content entity can be translated on the Content language page. If you exclude a field, it still shows up in the translation form, but any edits made to that field will be applied to all translations of that content.', array('!content-language' => \Drupal::url('language.content_settings_page'))) . '
'; $output .= '
' . t('Translating content') . '
'; - $output .= '
' . t('After enabling translation you can create a new piece of content, or edit existing content and assign it a language. Then, you will see a Translate tab or link that will gives an overview of the translation status for the current content. From there, you can add translations and edit or delete existing translations. This process is similar for every translatable element on your site, such as taxonomy terms, comments, or user accounts.') . '
'; - $output .= '
' . t('Changing source language') . '
'; - $output .= '
' . t("When there are two or more possible source languages, selecting a Source language will repopulate the form using the specified source's values. For example, French is much closer to Spanish than to Chinese, so changing the French translation's source language to Spanish can assist translators.") . '
'; - $output .= '
' . t('Maintaining translations') . '
'; - $output .= '
' . t('If editing content in one language requires that translated versions also be updated to reflect the change, use the Flag other translations as outdated check box to mark the translations as outdated and in need of revision.') . '
'; - $output .= '
' . t('Translation permissions') . '
'; - $output .= '
' . t('The Content Translation module makes a basic set of permissions available. Additional permissions can be configured on Permissions page and are made available after translation is enabled for each translatable element.', array('!permissions' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-content_translation')))) . '
'; + $output .= '
' . t('After enabling translation you can create new content, or edit existing content by assigning it a language. Then, you will see a Translate tab or link that gives an overview of the translation status for the current content. From there, you can add translations and edit or delete existing translations. This process is similar for every translatable content entity on your site, such as taxonomy terms, comments, or menu links.') . '
'; + $output .= '
' . t('Changing the source language for a translation') . '
'; + $output .= '
' . t("If content has been translated, then users can choose this translation on the translation form as Source language for translations to other languages, instead of the original language. The translated content will then be displayed in the form, allowing users to work directly from their preferred langugage. The source language for each translation is then listed on the Translate tab of the content.") . '
'; + $output .= '
' . t('Flagging translations as outdated') . '
'; + $output .= '
' . t('If editing content in one language requires that translated versions also need to be updated, then you can use the Flag other translations as outdated check-box to mark the translations as outdated and in need of revision.') . '
'; $output .= '
'; return $output;