The community templates are stored on filesystem. Community templates are stored in PortalServer-DataDir/portals/portal-ID/communitytemplates directory (referred to as communityTemplateBaseDir). Note that this means that each Portal (in a multi-portal deployment environment) will/must have its own set of community templates. The resource bundle in communityTemplateBaseDir defines the meta-data associated with each template. In addition, each template has its own directory where the role templates are stored.
communityTemplateBaseDir -+-- template1 -+-- owner.xml | | | +-- member.xml | | | +-- visitor.xml | -+-- template2 -+-- owner.xml | | | +-- member.xml | | | +-- visitor.xml | -+-- template3 -+-- owner.xml | | | +-- member.xml | | | +-- visitor.xml | +-- template1.properties | +-- template1_en.properties | +-- template1_fr.properties | +-- template2.properties | +-- template3.properties | +-- template3_en_US.properties | +-- ...