diff options
authorxjm2015-10-05 15:49:57 (GMT)
committerxjm2015-10-05 15:49:57 (GMT)
commit0eed649beb2e31c2ffff1709f571166cf0598b0d (patch)
parent6e0225e3041010e4f0268d927802a36fc20a0a8a (diff)
Issue #2572637 by ifrik, dubois, ndobromirov, jhodgdon, Gábor Hojtsy, lachezar.valchev, xjm: Update the hook_help for the Interface translation module again
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module
index 9cd1c75..387d0c3 100644
--- a/core/modules/locale/locale.module
+++ b/core/modules/locale/locale.module
@@ -158,6 +158,8 @@ function locale_help($route_name, RouteMatchInterface $route_match) {
$output .= '<dd>' . t('You can check how much of the interface on your site is translated into which language on the <a href=":languages">Languages</a> page. On the <a href=":translation-updates">Available translation updates</a> page, you can check whether interface translation updates are available on the <a href=":server">Drupal translation server</a>.', array(':languages' => \Drupal::url('entity.configurable_language.collection'), ':translation-updates' => \Drupal::url('locale.translate_status'), ':server' => '')) . '<dd>';
$output .= '<dt>' . t('Translating individual strings') . '</dt>';
$output .= '<dd>' . t('You can translate individual strings directly on the <a href=":translate">User interface translation</a> page, or download the currently-used translation file for a specific language on the <a href=":export">Interface translation export</a> page. Once you have edited the translation file, you can then import it again on the <a href=":import">Interface translation import</a> page.', array(':translate' => \Drupal::url('locale.translate_page'), ':export' => \Drupal::url('locale.translate_export'), ':import' => \Drupal::url('locale.translate_import'))) . '</dd>';
+ $output .= '<dt>' . t('Overriding default English strings') . '</dt>';
+ $output .= '<dd>' . t('If translation is enabled for English, you can <em>override</em> the default English interface text strings in your site with other English text strings on the <a href=":translate">User interface translation</a> page. Translation is off by default for English, but you can turn it on by visiting the <em>Edit language</em> page for <em>English</em> from the <a href=":languages">Languages</a> page.', array(':translate' => \Drupal::url('locale.translate_page'), ':languages' => \Drupal::url('entity.configurable_language.collection'))) . '</dd>';
$output .= '</dl>';
return $output;