cancel
Showing results for 
Search instead for 
Did you mean: 

Content model i18n strings

chrisokelly
Champ on-the-rise
Champ on-the-rise
Hi guys,

I have been able to set up my custom content model in both share and alfresco web client without serious issue but have a few questions about the i18n strings I can set.

I only used a few different types of strings to localize. I used aspect.aspectname, type.typename and modelprefix_modelname.property.propertyname.title, which seemed to satisfy every place I would see the aspects, types or properties.I noticed, though, that for the properties I can also set a .description. Where would I be seeing these strings if I were to set them?

Similarly I am wondering about the prefix_model.description string. Whereabouts is this used?
2 REPLIES 2

arnoldschrijve1
Champ on-the-rise
Champ on-the-rise
The description labels are set in the title attribute of the input fields of the form (for text fields, other form controls may use them differently), so they are displayed when you hover over the fields with your mouse.
Not sure where the prefix_model.description is used, but I've never seen it appear in the regular Share UI.

BTW There is another thing that you can localize. If you have a high enough version of Alfresco (not sure if this was included in 4.0.b), you can localize the constraint values of list constraints that are defined in your model. See this thread for more info: https://forums.alfresco.com/en/viewtopic.php?f=48&t=44416&p=130446#p130433

chrisokelly
Champ on-the-rise
Champ on-the-rise
Thanks Arnold, this answers exactly what I was asking.