My JSF facelet looks like this:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui">
<h:head>
<title>Facelet Title</title>
</h:head>
<h:body>
<p:calendar mode="inline"
locale="zh_CN"
showButtonPanel="true"
navigator="true" />
</h:body>
</html>
When I run it, the rendered calendar's language is English, while I want the language change to be Chinese Simplified. How can I achieve this ?
My Primefaces's version is 4.0 and the JSF version is 2.2.