Problem on using other language by default that "English" one

Created on 19 June 2017, over 7 years ago
Updated 22 January 2024, 11 months ago

Hello,

I am facing a problem on using a language other than English by default.
I chose French as the default language when installing Drupal 8.
And all went very well until I activate "Enable interface translation to English" in "admin/config/regional/language/edit/en" to be able to modify some translations.
I have add and modify translations in English, it works very well
But by now if a new user registers on the site in the English pages, All the notifications sent by mail are in French !!!
I did a test by adding the translation of the title of the mail of the inscription:

msgid "Account details for [user:display-name] at [site:name] (pending admin approval)"
msgstr "Account details for [user:display-name] at [site:name] (pending admin approval)"

And it worked, but I do not see myself adding all the English translations, that will be at 99% the same strings.
And logically, there is no en.po on localize.drupal.org.

Is there a solution to this problem?

Test on Drupal core 8.3.3 on fresh install without any contrib modules / PHP7.0.20

πŸ› Bug report
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
Language systemΒ  β†’

Last updated 1 day ago

  • Maintained by
  • πŸ‡©πŸ‡ͺGermany @sun
Created by

πŸ‡«πŸ‡·France steveoriol Grenoble πŸ‡«πŸ‡·

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia mstrelan

    Is this still applicable? I tested on 10.1.x with the following steps:

    1. Install standard profile with French (Français) as the default language
    2. Enable English (Anglais) at /admin/config/regional/language/add
    3. Navigate to /admin/config/regional/language/edit/en, check the box "Activer la traduction de l'interface vers l'anglais" and submit the form
    4. Log out
    5. Navigate to /en/user/register and complete registration

    The "Welcome (admin approval)" email was sent to the user in English, and the "Admin (user awaiting approval)" email was sent to the admin in French.

    Seems like this is working correctly now?

  • Status changed to Closed: outdated 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there hasn't been a follow up going to close out. if still an issue please reopen updating issue summary with D10+ steps.

Production build 0.71.5 2024