I think I might need to set the language somewhere.

I noticed when I remove tr() from strings it stops putting question
marks everywhere.

I'm building the project from the widgetgallery example, so would've
thought they would've set the language already...

How do I set the language?

On Thu, Sep 15, 2011 at 10:10 AM, Matthew Sherborne
<[email protected]> wrote:
> How are you launching it ?
> I'd look at some of those launch command line options:
> http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#wthttpd
>
> On Thu, Sep 15, 2011 at 9:41 AM, Alec Taylor <[email protected]> wrote:
>>
>> Thanks, but unfortunately that didn't work :/
>>
>> Copied all subdirs of examples/widgetgallery to build/examples/widget
>> gallery,
>>
>> Please tell me how to get this working properly.
>>
>> Thanks for all suggestions,
>>
>> Alec Taylor
>>
>> On 9/15/11, Matthew Sherborne <[email protected]> wrote:
>> > Hi Alec,
>> >
>> > The exe needs to access some support files.
>> >
>> > In the source tree there's : wt/examples/widgetgallery
>> >
>> > You need to basically either copy all the pics + icons + style + sounds
>> > and
>> > *.xml over from there .. to the dir where you're running the app from.
>> >
>> > or ..
>> >
>> > run the app from that source directory
>> >
>> > or ..
>> >
>> > specify --docroot= and/or --approot= to point to the source dir on the
>> > command line:
>> > http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#wthttpd
>> >
>> >
>> > Kind Regards,
>> > Matthew Sherborne
>> >
>> > On Thu, Sep 15, 2011 at 2:46 AM, Alec Taylor <[email protected]>
>> > wrote:
>> >
>> >> Good morning,
>> >>
>> >> Could you please tell me how to make my WidgetGallery example compile
>> >> properly?
>> >>
>> >> Here is my console output:
>> >> Option no-compression is implied because wthttp was built without zlib
>> >> support.
>> >> Option no-compression is implied because wthttp was built without zlib
>> >> support.
>> >> [2011-Sep-15 02:38:15.726542] 2644 - [notice] "Started server:
>> >> http://127.0.0.1:8080";
>> >> [2011-Sep-15 02:38:20.102792] 2644 [/ qRPJhPlDLRhp3O8y] [notice]
>> >> "Session created (#sessions = 1)"
>> >> [2011-Sep-15 02:38:20.135794] 2644 [/ qRPJhPlDLRhp3O8y] [notice]
>> >> "UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2)
>> >> Gecko/20100101 Firefox/6.0.2"
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:20.189797] "GET / HTTP/1.1" 200 3429
>> >> [2011-Sep-15 02:38:20.857835] 2644 [/ qRPJhPlDLRhp3O8y] [warn]
>> >> "Deploy-path ends with '/', using /?_= for internal paths"
>> >> [2011-Sep-15 02:38:20.901838] 2644 [/ qRPJhPlDLRhp3O8y] [warn] "(XSS)
>> >> discarding invalid tag: script"
>> >> [2011-Sep-15 02:38:20.936840] 2644 [/ qRPJhPlDLRhp3O8y] [error] "Error
>> >> reading XHTML string: invalid closing tag name"
>> >> [2011-Sep-15 02:38:21.102849] 2644 [/ qRPJhPlDLRhp3O8y] [warn]
>> >> "WApplication::addMetaHeader() with no effect"
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.136851] "GET
>> >> /?wtd=qRPJhPlDLRhp3O8y&request=style HTTP/1.1" 200 206
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.213856] "GET
>> >> /?wtd=qRPJhPlDLRhp3O8y&htmlHistory=true&request=script&rand=1783391991
>> >> HTTP/1.1" 200 163725
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.381865] "GET
>> >> /resources//themes/polished/wt.css HTTP/1.1" 304 0
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.396866] "GET
>> >> /resources/moz-transitions.css HTTP/1.1" 304 0
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.396866] "GET
>> >> /style/everywidget.css HTTP/1.1" 304 0
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.440869] "GET /style/dragdrop.css
>> >> HTTP/1.1" 304 0
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.468870] "GET /style/combostyle.css
>> >> HTTP/1.1" 304 0
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.543874] "GET
>> >> /resources//themes/polished/splitter-h.png HTTP/1.1" 304 0
>> >> 127.0.0.1 - - [2011-Sep-15 02:38:21.602878] "POST
>> >> /?wtd=qRPJhPlDLRhp3O8y HTTP/1.1" 200 21
>> >>
>> >> & this is what it looks like:
>> >> http://i54.tinypic.com/29z67o2.png
>> >>
>> >> My WidgetGallery directory tree: http://pastebin.com/6pChshp2
>> >>
>> >> My Wt directory tree: http://pastebin.com/fBg1zRN9
>> >>
>> >> How can I get the WidgetGallery to work properly?
>> >>
>> >> Thanks for all suggestions,
>> >>
>> >> Alec Taylor
>> >>
>> >> FYI: I'm running Windows 7 x64 SP1, Visual Studio 2010 Ultimate, Boost
>> >> 1.47 with Wt 3.1.11 (git) and ext-2.0.2
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>> >> Learn about the latest advances in developing for the
>> >> BlackBerry&reg; mobile platform with sessions, labs & more.
>> >> See new tools and technologies. Register for BlackBerry&reg; DevCon
>> >> today!
>> >> http://p.sf.net/sfu/rim-devcon-copy1
>> >> _______________________________________________
>> >> witty-interest mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/witty-interest
>> >>
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>> Learn about the latest advances in developing for the
>> BlackBerry&reg; mobile platform with sessions, labs & more.
>> See new tools and technologies. Register for BlackBerry&reg; DevCon today!
>> http://p.sf.net/sfu/rim-devcon-copy1
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to