On Tue, Mar 1, 2011 at 1:37 PM, David Becker <[email protected]> wrote: > Am 01.03.2011 09:24, schrieb George Niculae: >> On Mon, Feb 28, 2011 at 3:22 PM, David Becker<[email protected]> wrote: >>> Am 28.02.2011 14:17, schrieb Mircea Carasel: >>> >>> On Mon, Feb 28, 2011 at 2:26 PM, David Becker<[email protected]> wrote: >>>> I'm trying to test some localization stuff in my phone interface for >>>> SipXconfig but it always sends out the German language version, what >>>> would it take to make it send out the English language one? >>> I am not sure I understand, but sipXconfig gets the locale from the browser. >>> If you have your browser set up >>> on German, sipXconfig will show german translation on the pages (when >>> available) >>> >>> Yeah and I don't see anything in the phone's request that says it wants the >>> German language version. >>> I've attached the request of the phone for the login page. Doesn't look to >>> me like it should get the localized version. >>> >> Check also in your java class the value for >> getPage().getLocale.getLanguage(). >> >> George > Well, that's reporting "de", as expected considering that it shows the > translated version. What kind of request does it take to make that > something else? >
Accept-Language request header should indicate the language preference: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html George _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
