Multi language support

Created on 24 February 2018, almost 7 years ago
Updated 26 August 2024, 4 months ago

The module doesn't respect the current user language and allows redirect users to default site language.

Feature request
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

🇯🇴Jordan m.abdulqader

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.

  • Steps to reproduce:

    1. Add a second language to your site, let's use Portuguese, Brazil ( pt-br ) as an example.
    2. Install social auth + a provider like Social Auth Facebook .
    3. Go to Facebook developers and create an app.
    4. Configure the app accordingly and set up the Social Auth Facebook settings.
    5. Open an anonymous window from the Portuguese login page at yoursite.com/pt-br/login
    6. Use the provider to log in.

    Expected behavior: Leave the page in Portuguese and return from Facebook to a page in Portuguese: yoursite.com/pt-br/user/{uid}

    Actual behavior: Leave the page in Portuguese and return from Facebook to a page in English: yoursite.com/user/{uid}

  • Yes, @adinan cenci described the essence of the problem.

    I will assign the issue to myself and try to prepare a solution.

  • Status changed to Needs work about 2 months ago
  • Assigned to davps
  • I rechecked the described behavior on version 4.x and it looks like this problem is no longer relevant for the latest version of the module.

    I checked on another provider, not on Facebook

    1. added a second language (Spanish)
    2. went as a user (anonymous user) in incognito mode to the site and switched to Spanish
    3. clicked on the social network icon in the social auth block
    4. logged in to the social network
    5. the user was returned to the site in Spanish

    Perhaps the problem may be relevant for 3.x. or older versions.

Production build 0.71.5 2024