Am 28.02.2011 14:17, schrieb Mircea Carasel:


On Mon, Feb 28, 2011 at 2:26 PM, David Becker <[email protected] <mailto:[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.

--
-------------------------------------------------------------------
David Becker

IANT- APPLIED NGN-TECHNOLOGIES

Schlüsselfertige VoIP-Lösungen und mehr...

IANT GmbH
Salzdahlumer Straße 46/48
D-38302 Wolfenbüttel
Fon: +49/(0)5331/ 900989-450
Fax: +49/(0)5331/ 900989-499
Internet: www.iant.de

Ust.-IdNr: DE264352710
HRB 201710, Amtsgericht Braunschweig
Geschäftsführer: Prof. Dr.-Ing. Diederich Wermser, Dipl.-Ing. Jan Schumacher

IANT is Member of GROUPLINK
www.grouplink.de

GET /sipxconfig/microsite/xhtml/Login.html?username=201 HTTP/1.1
Host: 192.168.1.90:12000
Cookie: JSESSIONID=30fl7s3wrtdmo
Accept: image/bmp, application/xhtml+xml, application/x-com-polycom-spipx
User-Agent: Microbrowser/1.1 PolycomSoundPointIP-SPIP_330-UA/3.1.3.0439

HTTP/1.1 200 OK
Date: Mon, 28 Feb 2011 12:29:31 GMT
Server: Jetty/5.1.4 (Linux/2.6.18-194.32.1.el5 i386 java/1.6.0_17
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: JSESSIONID=6tl5ii1fnjchr;Path=/sipxconfig
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked

20f
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<!--Log-in Page for XHTML-compliant microbrowsers, e.g. Polycom-->
<head><title>Log in</title></head>
<body>
<form action="/sipxconfig/microsite/xhtml/j_acegi_security_check" method="post">
        Username<br />
        <input value="201" id="j_username" type="text" 
name="j_username"></input><br />
        PIN<br />
        <input type="password" name="j_password" id="j_password" /><br />
        <input value="Log in" type="submit" id="Any_0"></input>
</form>
        
    
    

</body>
</html>

0

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to