Board index JavaServer Faces General p:calendar component does not support russian language

p:calendar component does not support russian language

Components, Ajax Framework, Utilities and More.


Posts: 8
I would like to add such possibility
Whether probably to add it in calendar.js (META-INF/resources/primefaces/calendar/)
ru:{
        MONTHS_SHORT:["\u042F\u043D\u0432","\u0424\u0435\u0432","\u041C\u0430\u0440","\u0410\u043F\u0440","\u041C\u0430\u0439","\u0418\u044E\u043D","\u0418\u044E\u043B","\u0410\u0432\u0433","\u0421\u0435\u043D","\u041E\u043A\u0442","\u041D\u043E\u044F","\u0414\u0435\u043A"],
        MONTHS_LONG:["\u042F\u043D\u0432\u0430\u0440\u044C","\u0424\u0435\u0432\u0440\u0430\u043B\u044C","\u041C\u0430\u0440\u0442","\u0410\u043F\u0440\u0435\u043B\u044C","\u041C\u0430\u0439","\u0418\u044E\u043D\u044C","\u0418\u044E\u043B\u044C","\u0410\u0432\u0433\u0443\u0441\u0442","\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u041E\u043A\u0442\u044F\u0431\u0440\u044C","\u041D\u043E\u044F\u0431\u0440\u044C","\u0414\u0435\u043A\u0430\u0431\u0440\u044C"],
        WEEKDAYS_1CHAR:["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],
        WEEKDAYS_SHORT:["\u0412\u0441","\u041F\u043D","\u0412\u0442","\u0421\u0440","\u0427\u0442","\u041F\u0442","\u0421\u0431"],
        WEEKDAYS_MEDIUM:["\u0412\u043E\u0441","\u041F\u043E\u043D","\u0412\u0442\u0440","\u0421\u0440\u0434","\u0427\u0435\u0442","\u041F\u044F\u0442","\u0421\u0443\u0431"],
        WEEKDAYS_LONG:["\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u0438\u0435","\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0412\u0442\u043E\u0440\u043D\u0438\u043A","\u0421\u0440\u0435\u0434\u0430","\u0427\u0435\u0442\u0432\u0435\u0440\u0433","\u041F\u044F\u0442\u043D\u0438\u0446\u0430","\u0421\u0443\u0431\u043E\u0442\u0430"]
        },

Now I add it manually in each new version of PrimeFaces


Posts: 14915
Location: Cybertron

New calendar supports 52 languages out of the box, Russian already included.
PrimeFaces Lead


Posts: 8
thank you very much
PrimeFaces 2.0.x, JSF 2.0, EJB 3, Glassfish 2/3, Tomcat 6.0.x


Return to General