diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module old mode 100644 new mode 100755 index 3ebe97d..d8176a9 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -339,7 +339,13 @@ function locale($string = NULL, $context = NULL, $langcode = NULL) { if (!isset($locale_t[$langcode][$context]) && isset($language_interface)) { $locale_t[$langcode][$context] = new LocaleLookup($langcode, $context, locale_storage()); } - return ($locale_t[$langcode][$context][$string] === TRUE ? $string : $locale_t[$langcode][$context][$string]); + + // Return untranslated strings with unicode characters for english language and direction. + if ($locale_t[$langcode][$context][$string] === TRUE) { + return "\xF3\xA0\x80\x81\xF3\xA0\x81\xA5\xF3\xA0\x81\xAE\xE2\x80\xAA" . $string . "\xE2\x80\xAC\xF3\xA0\x81\xBF"; + } + + return $locale_t[$langcode][$context][$string]; } /**