Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

Can I set the OAuth Signin Screen Locale?

oauth

  • Please log in to reply
4 replies to this topic

#1 ryou

ryou

  • Pip
  • Title: Member
  • Group: Members
  • 7 posts

Posted 10 July 2012 - 07:22 AM

Hi,

In OAuth SignIn Screen,
Can I set the display language? example: jp / en / fr...

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 406 posts

Posted 10 July 2012 - 05:05 PM

No, the language is automatically set based on the user's device and browser.

#3 SethH

SethH

  • Title: Evernote Employee
  • Group: Evernote Employee
  • 683 posts

Posted 13 July 2012 - 04:08 PM

Specifically, we localize according to the Accept-Language header. Once the user is logged in, however, the OAuth authorization page is localized according to the user's Evernote display language preference, which they can set at https://www.evernote...ettings.action.

#4 ryou

ryou

  • Pip
  • Title: Member
  • Group: Members
  • 7 posts

Posted 17 July 2012 - 07:49 AM

Thanks a lot,

Now new problem is How to set Accept-Languge in browser?

I try to redirect in JSP file like below.
But no effect happened in SignIn screen after change other accept language.
It is alway displayed in Japanese.

May be this method will not work?


<%
String url = request.getParameter("url"); // example: url =https://sandbox.evernote.com/Login.action?targetUrl=%2F....

// test in IE browser
//response.setHeader("Accept-Language", "en-us");
//response.setHeader("Accept-Language", "de");
response.setHeader("Accept-Language", "fr");
//response.setHeader("Accept-Language", "de; q=1.0, en; q=0.5");

response.sendRedirect(url);
%>

#5 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 406 posts

Posted 17 July 2012 - 04:53 PM

As Seth explained, you can set you language on the following page: https://www.evernote...Settings.action





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote