Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language problem when create #4

Open
lsc20051426 opened this issue Oct 21, 2014 · 6 comments
Open

Language problem when create #4

lsc20051426 opened this issue Oct 21, 2014 · 6 comments

Comments

@lsc20051426
Copy link

Hi, bro,
When i use alert.setLanguage(Language.Any_Language); on creation, i can see the feed, but the feed is still in english.
I echo the Language.Any_Language, and it is "en".

Actually, when i modify them in browser, i got different request form data(You can get it from chrome):
When change from english to all:

[null,"af1690a6e465cf8a:8e3b246d7e1948b1:com:en:US",[null,null,null,[null,"H\u00c0NG M\u1edaI V\u1ec0","com",[null,"en","US"],null,null,null,0,----0----],null,2,[[null,2,"",[],1,"en-US",1,null,null,null,null,"9448292076203317946",null,null,"AB2Xq4hifHRtkRavoUaUt5SbgPWiTx3Eu_E0ccs"]]]]

When change from all to english:

[null,"af1690a6e465cf8a:8e3b246d7e1948b1:com:en:US----:L----",[null,null,null,[null,"H\u00c0NG M\u1edaI V\u1ec0","com",[null,"en","US"],null,null,null,0,----1----],null,2,[[null,2,"",[],1,"en-US",1,null,null,null,null,"9448292076203317946",null,null,"AB2Xq4hifHRtkRavoUaUt5SbgPWiTx3Eu_E0ccs"]]]]

I marked the difference by using '----', hope that can help you~~.

Good Luck.

@nnhiti
Copy link
Owner

nnhiti commented Oct 27, 2014

Im sorry for this inconvenient, I just came back from my vacation.

I will try to fix and let you know when I done.

@nnhiti
Copy link
Owner

nnhiti commented Oct 27, 2014

Thanks for your inform bug, In already fixed this bug; please download again and let me know if there are any issues.

@lsc20051426
Copy link
Author

nice, thanks~

@lsc20051426
Copy link
Author

GaService.java

/* 290 */     String flagLanguage = "0";
/* 291 */     if (alert.getLanguage() == "") {
/* 292 */       alert.setLanguage("en");
/* 293 */       flagLanguage = "1";
/*     */     }

the code should be

/* 290 */     String flagLanguage = "1";
/* 291 */     if (alert.getLanguage() == "") {
/* 292 */       alert.setLanguage("en");
/* 293 */       flagLanguage = "0";
/*     */     }

@lsc20051426 lsc20051426 reopened this Nov 30, 2014
@nnhiti
Copy link
Owner

nnhiti commented Dec 2, 2014

thanks for your suggest.

Can you tell me what's problem on this?

Thanks

@lsc20051426
Copy link
Author

Yep,
The problem is that, when i want to create an english or chinese feed, it will create a ANY LANGUAGE feed instead.

Actually,You should create feed using same language as your you language of account profile. otherwise there will be data in the feed.

And one more thing you may interest maybe the json and the httpclient lib version.
It's quite old, if the JVM load your jar first, some class would be "cannot be found".

Hoping this can help you, bro~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants