Hi all.
Ask you if possible load a wx.calendar with italian format date?
···
–
Fabio Spadaro
www.fabiospadaro.com
Hi all.
Ask you if possible load a wx.calendar with italian format date?
–
Fabio Spadaro
www.fabiospadaro.com
Hi Fabio!
On Dec 4, 9:30 am, Fabio Spadaro <fabiolinos...@gmail.com> wrote:
Hi all.
Ask you if possible load a wx.calendar with italian format date?--
Fabio Spadaro
Are you wanting the text in the CalendarCtrl to be in Italian? You
might be able to do that by setting wx.Locale somehow.
-------------------
Mike Driscoll
Yep, if the locale is set and if the wx message catalog is available then the locale specific month and day names should be puled from the catalog.
On 12/4/09 10:44 AM, Mike Driscoll wrote:
Hi Fabio!
On Dec 4, 9:30 am, Fabio Spadaro<fabiolinos...@gmail.com> wrote:
Hi all.
Ask you if possible load a wx.calendar with italian format date?--
Fabio SpadaroAre you wanting the text in the CalendarCtrl to be in Italian? You
might be able to do that by setting wx.Locale somehow.
--
Robin Dunn
Software Craftsman
Ok it does work with wx.Locale(wx.LANGUAGE_ITALIAN)
2009/12/9 Robin Dunn robin@alldunn.com
On 12/4/09 10:44 AM, Mike Driscoll wrote:
Hi Fabio!
On Dec 4, 9:30 am, Fabio Spadarofabiolinos...@gmail.com wrote:
Hi all.
Ask you if possible load a wx.calendar with italian format date?
–
Fabio Spadaro
Are you wanting the text in the CalendarCtrl to be in Italian? You
might be able to do that by setting wx.Locale somehow.
Yep, if the locale is set and if the wx message catalog is available
then the locale specific month and day names should be puled from the
catalog.
–
Robin Dunn
Software Craftsman
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
–
Fabio Spadaro
Please don't top-post, it's very annoying.
Per favore non postare i tuoi messaggi in testa alle risposte degli
altri, ma sotto. E' una pratica considerata maleducata in Usenet.
I have almost forgotten my mother tongue
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
2009/12/9 Fabio Spadaro <fabiolinospad@gmail.com>:
Ok it does work with wx.Locale(wx.LANGUAGE_ITALIAN)
Sorry.
2009/12/9 Andrea Gavana andrea.gavana@gmail.com
2009/12/9 Fabio Spadaro fabiolinospad@gmail.com:
Ok it does work with wx.Locale(wx.LANGUAGE_ITALIAN)
Please don’t top-post, it’s very annoying.
Per favore non postare i tuoi messaggi in testa alle risposte degli
altri, ma sotto. E’ una pratica considerata maleducata in Usenet.I have almost forgotten my mother tongue
Andrea.
“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/
http://thedoomedcity.blogspot.com/–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
–
Fabio Spadaro
www.fabiospadaro.com
Hi,
DatePickerCtrl.py (1.69 KB)
2009/12/9 Andrea Gavana andrea.gavana@gmail.com
2009/12/9 Fabio Spadaro fabiolinospad@gmail.com:
Ok it does work with wx.Locale(wx.LANGUAGE_ITALIAN)
Please don’t top-post, it’s very annoying.
Per favore non postare i tuoi messaggi in testa alle risposte degli
altri, ma sotto. E’ una pratica considerata maleducata in Usenet.
I have almost forgotten my mother tongue
Andrea.
“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/
http://thedoomedcity.blogspot.com/
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
In My script i would to change the format date in english version but a can not because it continues to be in italian version.
Attached it.
–
Fabio Spadaro
www.fabiospadaro.com
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
The problem is probably due to you not holding a reference to the locale object, so at the end of the scope where it is created its reference count drops to zero and the locale reverts to the default.
On 5/24/10 4:38 AM, Fabio Spadaro wrote:
In My script i would to change the format date in english version but a
can not because it continues to be in italian version.
Attached it.
--
Robin Dunn
Software Craftsman
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Hi,
2010/5/24 Robin Dunn robin@alldunn.com
On 5/24/10 4:38 AM, Fabio Spadaro wrote:
In My script i would to change the format date in english version but a
can not because it continues to be in italian version.
Attached it.
The problem is probably due to you not holding a reference to the locale object, so at the end of the scope where it is created its reference count drops to zero and the locale reverts to the default.
–
Robin DunnSoftware Craftsman
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
How do i fix it?
–
Fabio Spadaro
www.fabiospadaro.com
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Hold onto a reference, of course! I'm assuming Robin means something
like this:
self.myLocaleObj = localeObj
That should keep the object around.
On May 25, 1:54 am, Fabio Spadaro <fabiolinos...@gmail.com> wrote:
Hi,
2010/5/24 Robin Dunn <ro...@alldunn.com>
> On 5/24/10 4:38 AM, Fabio Spadaro wrote:
>> In My script i would to change the format date in english version but a
>> can not because it continues to be in italian version.
>> Attached it.> The problem is probably due to you not holding a reference to the locale
> object, so at the end of the scope where it is created its reference count
> drops to zero and the locale reverts to the default.> --
> Robin Dunn
> Software Craftsman
>http://wxPython.orgHow do i fix it?
--
Fabio Spadarowww.fabiospadaro.com
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en