2 Replies Latest reply on Apr 29, 2008 3:21 AM by cichomski

    rich:calendar Today/Apply/... Locale

    cichomski

      Hi!

      Is there any way to make the labels for buttons on popup mode calendar localizable ?

      I'd need to define my own labels for Today, Apply, Ok, Cancel (time) buttons. Is it at all possible ?

      Using RF 3.1.4 atm.

        • 1. Re: rich:calendar Today/Apply/... Locale
          ilya_shaikovsky

          yes its possible and described in our dev guide.

          • 2. Re: rich:calendar Today/Apply/... Locale
            cichomski

            oh dear, sketched the dev guide 3 times and couldn't find it, but the solution IS there:

            The <rich:calendar> component provides the possibility to use internationalization method to redefine and localize the labels. You could use application resource bundle and define RICH_CALENDAR_APPLY_LABEL, RICH_CALENDAR_TODAY_LABEL, RICH_CALENDAR_CLOSE_LABEL, RICH_CALENDAR_OK_LABEL, RICH_CALENDAR_CLEAN_LABEL, RICH_CALENDAR_CANCEL_LABEL there.


            Sorry, I got used to tomahawk's calendar way of doing i18n (tags).

            also this issue was mentioned earlier here.

            Thanks a lot.