Get the user's language

Is there any possibility to get the language used by user during registration on website with social plugin?

Best Answer

  • Fred_PinelFred_PinelMember
    Answer ✓
    Hi,
    In your application (app.oneall.com) Facebook settings, the 'locale' field in the Extended Profile Data should give you this information.

    Also, we've added 'Spoken languages' as an additional field you can request from your app.oneall.com Facebook settings page.

    Finally, (just in case) you can also request specific scopes per provider via our javascript API (docs.oneall.com/api/javascript/library/methods/#sll_set_provider_scope).

    Regards.

Answers

  • Hi,
    Which language do you mean? The one from the social network login window (ex: Facebook's)?

    Thanks.
  • Hi

    Every social network (at least those that I am using) have an user's language marker. Is it possible to get it by the plugin in the moment of registration/login? I want to use this info to understand what language to use for the website for user after login.

    Thanks.
  • Hi,
    Indeed, we should be providing this information (for Facebook typically).
    We are investigating why this is not the case!
  • Thanks for the FB. That is great! But is that possible also for Google?
  • Hi,
    Yes. We'll keep you updated here (a required change should be in place shortly).
    Sorry for the repetitive changes :-)

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.