AnsweredAssumed Answered

model properties file (for localization)

Question asked by aweber1nj on Jul 3, 2012
Latest reply on Jul 5, 2012 by aweber1nj
What is the rule about how to actually enter type/aspect/property names in the .properties file for localization?

By that I mean, I read the example in Mr. Potts' excellent guide to Custom Content Models, but it doesn't mention "why" when entering the property names in the .properties file the colons ( : ) are substituted to underscores ( _ ) when identifying the namespace:name.

For example, sc:whitepaper appears to become sc_whitepaper – but no explanation is actually given as to why.

Is there a ruleset that I can follow?  For example, what if I have a colon later in a name like "sc:whitepaper:folder".  Do both colons get swapped-out for underscores???  Why?

Thanks for anyone who can shed some light on this.
-AJ

Outcomes