Skip to content
This repository has been archived by the owner on Aug 3, 2019. It is now read-only.

Change response language #127

Open
Anth06ny opened this issue Apr 11, 2014 · 1 comment
Open

Change response language #127

Anth06ny opened this issue Apr 11, 2014 · 1 comment
Assignees

Comments

@Anth06ny
Copy link

Hi,

thanks for your sdk, it is very helpfull!!!

How can I change the language of the response of facebook?

For exemple, it return "Canceled by user" !!!

Thanks

Anthony

@Anth06ny Anth06ny reopened this Apr 15, 2014
@sromku
Copy link
Owner

sromku commented Apr 24, 2014

@Anth06ny The warning and error strings are hard coded in English. To have messages in other language shouldn't be done within library, but it should be done on your side.
But, in fact, you can't do this without error id. So, I will add to onFail(String), another integer param and it will be onFail(int, String), when the int is the error id. Once, I push this change I will add an example.

@sromku sromku added this to the Version 2.2 milestone Oct 13, 2014
@sromku sromku self-assigned this Oct 13, 2014
@sromku sromku removed this from the Version 2.2 milestone Oct 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants