3

I have a Drupal 8 multilingual site (Spanish [default], English, Italian and Ukranian).

enter image description here

On admin/config/regional/translate I can translate to Spanish, Italian and Ukranian but not to English.

enter image description here

How can I translate strings to English with this UI?

1 Answer 1

12

By default, if you have English configured, it is not available as a translation target. However, you are only one checkbox away from enabling that feature:

enter image description here

Go edit English and make it available for translation. This will make English behave as any other language and from then on, you can "translate" to English as well:

enter image description here

All strings will still fall back on the built-in English text (eg. if you also have Hungarian on the site, untranslated strings in Hungarian will fall back on Drupal built-in English text). However when English is used for display, all your overrides will be effective. (Cross-language fallbacks can be implemented in contributed modules now with Drupal 8's service architecture for string lookups).

Source: http://hojtsy.hu/blog/2013-aug-20/drupal-8-multilingual-tidbits-12-english-can-now-be-translated

Result: enter image description here

1
  • Would this be good for a monolingual site if there's a desire to change some of the wording used in contrib or core modules?
    – bdsl
    Mar 19, 2016 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.