I use a facebook connection so that users can easily log in to my application. It works well, but after users allow me to receive information on facebook like email, birthday, gender, etc., Facebook returns me this data to the user locale.
So, if the user has facebook in English, I will get {"gender": "male"}, and if the user has facebook in Italian, for example, I will get {"gender": "uomo"}. Facebook translates the value using a custom locale. The problem is that I have to use this user information to perform any search in my application, and it is impossible for me to say, for example, "select all" male "users.
Is there a way to get facebook user information to return information in a specific locale? Therefore, I can learn how to use this data, and not just display it.
thanks
facebook localization
Stefan manastirliu
source share