So in a custom module, which property do I have to set where, if I want to add the translation for "link.readon" in another language? Do I have to set the i18nBasename property for all paragraphs? Do I have to copy all messages_xx.properties to my custom module - I hope not?
Thanks Peter 2010/9/2 Philipp Bärfuss <[email protected]>: > You can overload properties based on the webapp, server name: > - > http://documentation.magnolia-cms.com/technical-guide/configuration-mechanisms.html > In custom projects you best set the properties in the module descriptor: > - http://documentation.magnolia-cms.com/technical-guide/modules.html > The webapp structure is described here: > - http://documentation.magnolia-cms.com/technical-guide/magnolia-webapp.html > You see, I love this technical guide ;-) > Cheers > - Philipp > On 01.09.2010, at 17:05, Hartmut Kern (It-Gruppe) wrote: > > Dear Christian, Nils, > thank you for your answer. So I have to change it in the living system > .jar's. I thought of reading month ago a mechanism, where you can have your > own .properties as files in /lib or /properties if you want to overwrite > the fallback properties. > May be I mixed it up with the another project. > In: > http://documentation.magnolia-cms.com/technical-guide/i18n.html > it is described, but not the place where I can save a .properties file to > overwrite "link.readon". > And thank you Christian, I will be at the Conference (if nothing fails ...) > Thanks > Hartmut > > > Am 27.08.2010 um 15:03 schrieb Christian Ringele: > > Hi Hartmut, > You can change this at this location (print screen): in stk > module/src/main/resources/info/magnolia/module/templatingkit > <Screen shot 2010-08-27 at 2.58.58 PM.png> > But that would mean that you build your own STK snapshot. > The value which defines from where this i18n message is taken is located in > the paragraph definition, in the property i18nBasename: > <Screen shot 2010-08-27 at 2.58.29 PM.png> > So you can place the message file in your project module. > Cheers, > Christian > On Aug 27, 2010, at 1:17 PM, Hartmut Kern (It-Gruppe) wrote: > > Hey List, > > I think it is a simple question. I am sure I read about it in the past, but > cannot not find in the documentation sites today. > > ${i18n['link.readon']} > should be "more" and not "read on". > (It is the read on, when you use the "Internal Teaser", may be from a > section to an article) > > In which .properties file (naming conventions ... ) I have to write that in > and where do I have to save it in tomcat/webapps/...? > I don't want to change the freemarker template, because this resource is > used in more than one template. > > Thanks in advance > > Hartmut > > > -- *-- > Hartmut Kern, M.A. > Max-Planck-Institut für Wissenschaftsgeschichte > Information Technology Group > Boltzmannstraße 22 > 14195 Berlin > +49 (0) 30 22667 - 341 > +49 (0) 30 22667 - 225 > -- *-- > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > Best regards, > > Christian Ringele > Magnolia International Ltd. > You should join us at Magnolia Conference 2010: > http://www.magnolia-cms.com/conference > > Magnolia® - Simple Open Source Content Management > > > ________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > > ________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > > ________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
