Hi, I have trouble internationalizing page and component template titles in blossom for the pages and page edit view. I'm using blossom 3.0.3, magnolia 5.3.2 and spring 3.2.8.RELEASE.
The documentation at [url]http://documentation.magnolia-cms.com/display/DOCS/Blossom+module#Blossommodule-Localization[/url], unfortunately, does not do this itself, since there the title is just hardcoded as "Text". My module has in its resources a properties file under [i]src/main/resources/mgnl-i18n/module-my-module-messages_en.properties[/i] The [i]@I18nBasename[/i] annotation, I understand, should therefore get as value parameter [i]"module-my-module-messages"[/i]. However, this did not have any effect. Also trying to register [i]info.magnolia.module.blossom.context.MagnoliaMessageSource[/i] and [i]info.magnolia.module.blossom.context.MagnoliaLocaleResolver[/i] using the following code in my [i]applicationContext.xml[/i] did not lead to success: [code] <bean id="messageSource" class="info.magnolia.module.blossom.context.MagnoliaMessageSource"> <property name="basenames"> <list> <value>module-neobooks-cms-homepage-messages</value> </list> </property> </bean> <bean id="localeResolver" class="info.magnolia.module.blossom.context.MagnoliaLocaleResolver" /> [/code] Most success I had so far using the annotation [i]@I18nable[/i] with my template. Then the keys are successfully translated in the dialog, but still not in the pages and page edit view. I'd be very happy to get any hints on how to achieve this :) Kind regards, fabian -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=892276c5-3f71-4adf-8452-03ccb01a2c45 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
