Thread: [Microba-controls] Language Support
Brought to you by:
michaelbaranov
From: Himanshu R. <him...@gm...> - 2009-04-13 00:41:39
|
Can someone please let me know the languages supported by the DatePicker? Thanks Himanshu |
From: Himanshu R. <him...@gm...> - 2009-04-16 08:19:19
|
ok it seems like there is a file in the source tree called \src\main\java\com\michaelbaranov\microba\calendar\DefaultCalendarResources.properties that contains translations for "Today"" and "None" CalendarResources can be implemented for creating customized resources for internationalization and this implementation can be set via CalendarPane/DatePicker.setResources. So far so good my next question, is how are the letters for the days in the week obtained. These letters are shown in the calendar pop up. Looking at the source code, it seems it is obtained by stripping out the "day" of the week name from the Date object formatted using SimpleDateFormat.format() Would this mean that the actual letters will be obtained from the OS? Thanks Himanshu On Sun, Apr 12, 2009 at 5:41 PM, Himanshu Ranavat < him...@gm...> wrote: > Can someone please let me know the languages supported by the DatePicker? > > Thanks > > Himanshu > |
From: Michael B. <mic...@gm...> - 2009-04-16 10:48:20
|
No, the OS has nothing to do with it. The JVM carries all locale-specific information. Michael > ok it seems like there is a file in the source tree called > \src\main\java\com\michaelbaranov\microba\calendar\DefaultCalendarResources.properties > that contains translations for "Today"" and "None" > > CalendarResources can be implemented for creating customized resources for > internationalization and this implementation can be set via > CalendarPane/DatePicker.setResources. So far so good > > my next question, is how are the letters for the days in the week obtained. > These letters are shown in the calendar pop up. Looking at the source code, > it seems it is obtained by stripping out the "day" of the week name from the > Date object formatted using SimpleDateFormat.format() > > Would this mean that the actual letters will be obtained from the OS? > > Thanks > > Himanshu > > > > On Sun, Apr 12, 2009 at 5:41 PM, Himanshu Ranavat < > him...@gm...> wrote: > >> Can someone please let me know the languages supported by the DatePicker? >> >> Thanks >> >> Himanshu >> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > > > ------------------------------------------------------------------------ > > _______________________________________________ > Microba-controls mailing list > Mic...@li... > https://lists.sourceforge.net/lists/listinfo/microba-controls |
From: Himanshu R. <him...@gm...> - 2009-04-16 23:12:45
|
Thanks for the reply. It makes a lot of things clear. On Thu, Apr 16, 2009 at 3:48 AM, Michael Baranov <mic...@gm...>wrote: > No, the OS has nothing to do with it. The JVM carries all > locale-specific information. > > Michael > > ok it seems like there is a file in the source tree called > > > \src\main\java\com\michaelbaranov\microba\calendar\DefaultCalendarResources.properties > > that contains translations for "Today"" and "None" > > > > CalendarResources can be implemented for creating customized resources > for > > internationalization and this implementation can be set via > > CalendarPane/DatePicker.setResources. So far so good > > > > my next question, is how are the letters for the days in the week > obtained. > > These letters are shown in the calendar pop up. Looking at the source > code, > > it seems it is obtained by stripping out the "day" of the week name from > the > > Date object formatted using SimpleDateFormat.format() > > > > Would this mean that the actual letters will be obtained from the OS? > > > > Thanks > > > > Himanshu > > > > > > > > On Sun, Apr 12, 2009 at 5:41 PM, Himanshu Ranavat < > > him...@gm...> wrote: > > > >> Can someone please let me know the languages supported by the > DatePicker? > >> > >> Thanks > >> > >> Himanshu > >> > > > > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Stay on top of everything new and different, both inside and > > around Java (TM) technology - register by April 22, and save > > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > > 300 plus technical and hands-on sessions. Register today. > > Use priority code J9JMT32. http://p.sf.net/sfu/p > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Microba-controls mailing list > > Mic...@li... > > https://lists.sourceforge.net/lists/listinfo/microba-controls > > > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Microba-controls mailing list > Mic...@li... > https://lists.sourceforge.net/lists/listinfo/microba-controls > |