On 10/19/2013 05:55 PM, Varol Okan wrote:
Hey,
I am using QooxDoo with the Desktop libs, which I compiled using
"./generate.py build-all"
What is "build-all"? (It's none of the predefined jobs).
All is fine and nice however I am trying to figure out how to localize
my app and for the Deutsches mgr.getDateFormat () all I get back is
"M/d/yy" instead of "dd.MM.yy" as is in the example under
http://demo.qooxdoo.org/current/demobrowser/#showcase~Localization.html
<http://demo.qooxdoo.org/current/demobrowser/#showcase%7ELocalization.html>
It seems you have an 'en' locale in effect when calling
Date.getDateFormat(). Either supply a locale parameter like
.getDateFormat('short', 'de') (for a one-shot query), or set the locale
for the app to 'de' and then invoke .getDateFormat('short'). See [1]
(make sure to open the 'Log' pane in Playground).
[1] http://tinyurl.com/k3mv53g
I can of course add this manually to the
this.__locales["de"]["cldr_date_format_short"] in qx.locale.Manager
though that would be hacking the system.
Indeed.
What is the proper way to get E.g. the Date format of a Locale when
using "build-all" ?
See above. It usually doesn't depend on the type of build you are creating.
Ps: is this a bug on line 402, as language is used further down
https://github.com/qooxdoo/qooxdoo/blob/release_3_0_1/framework/source/class/qx/locale/Manager.js#L402
No - why?
T.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel