Hi all,
I am currently working on the migration of the Excel module to Multilanguage
and STK.
For the management of the pre-rendered Excel table, we need an access to the
selected language in website.
But in the savedHandler class, the I18nContentSupportFactory.getI18nSupport()
always return English locale!
The SaveHandler class called during the saving of the dialog is the following :
public class ExcelTransformerSaveHandler extends UUIDSaveHandler {
...
private void removePreRenderedProperty(String name, Content node) throws
RepositoryException {
String language =
I18nContentSupportFactory.getI18nSupport().getLocale().getLanguage();
...
}
}
Language is always English.
I need it to delete the corresponding pre-rendered property depending of the
language.
How can I access to the website language?
Benoît
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------