简体   繁体   中英

Alfresco - Storing every single form labels as custom content

Our team is building a rather large enterprise application. Alfresco is the ECM that will be storing all the content.

However, we're being told that they literally mean ALL static content, including small things like form labels, such as "Gender", "Login", "Submit" because:

  1. developers do not want to hard-code in any static values into their code.

  2. some customers that use our software are willing to pay additional fee for having flexibility to relabel those labels to "Sex", "Log On", "Save".

Setting aside performance implication (which they probably addressed through periodic indexing jobs), is there a precedent for storing micro content like this in Alfresco? Is there a reference / guide that I can refer to for this?

What is the best way to content modeling and create content type of this scale, and also allow for customer specific overrides/customization?

I know this is an unusual topic, so your thoughts would be much appreciated.

You can find all about internationalization in Alfresco documentation : Internationalization (i18n)

the Working With Custom Content Types in Alfresco tutorial created by Jeff Potts, is a very good beginning for content modeling

In alfresco if you don't wanted to hard code labels then override properties or message files , the labels are taken from message/properties file so you need to override the properties file. You can override your message/properties file at run time place the file with same path in this folder

Company Home> Data Dictionary> Messages

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM