AnsweredAssumed Answered

Can't find bundle for base name alfresco.extension.webclient

Question asked by savic.prvoslav on Mar 20, 2009
hi i am using SDK and build.xml to merge alfresco.war and extensions that I have made.
Languages EN and croatian. Problem is that when i merge alfresco.war and what i have done.

 org.alfresco.i18n.I18NUtil.registerResourceBundle("alfresco.extension.webclientlogin");
org.alfresco.web.ui.common.Utils.addErrorMessage(org.alfresco.i18n.I18NUtil.getMessage("some text for error code", Application.getLanguage(FacesContext.getCurrentInstance())));

src
   alfresco.extension
        webclientlogin_en_EN.properties
        webclientlogin_hr_HR.properties
        web-client-config-custom.xml
….

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.util.MissingResourceException: Can't find bundle for base name alfresco.extension.webclientlogin, locale hr_HR

what I do not understand is where to I have to put these files *.properties so alfresco can find this files.
Please help.

Outcomes