If you common screen is either included or used as a decorator in other screens then it should work, because of the global="true" Else your screens have no ideas about your labels, how could they?
Jacques Antony ADOPO wrote: > Ok, I will try this evening. I only put these property in common screen , not > on others "een.xml" > > -----Message d'origine----- > De : "Jacques Le Roux" <[email protected]> > Envoyé : 11/10/2013 11:21 > À : "[email protected]" <[email protected]> > Objet : Re: Adding new "EcommerceUiLabels" doesn't work > > Look for > <property-map resource="EcommerceUiLabels" map-name="uiLabelMap" > global="true"/> > > in *een*.xml files... > > Also, to check what's going on with your labels, you can use the Label > Manager in Webtools > > Jacques > > Antony ADOPO wrote: >> Yes, it is already include. Please send me an exemple to show tour >> "including" way. Im sure but it doesn't work >> >> -----Message d'origine----- >> De : "Jacques Le Roux" <[email protected]> >> Envoyé : 11/10/2013 08:58 >> À : "[email protected]" <[email protected]> >> Objet : Re: Adding new "EcommerceUiLabels" doesn't work >> >> Antony, you have to be sure that you "include" the corresponding ui labels >> file in the screen widget definition which calls the >> ultimately rendered HTML source (either a widget form or a ftl template) >> So if it's in a hot-deploy component don't forget it there. See how it's >> done in ecommerce screens... >> >> Jacques >> >> Antony Adopo wrote: >>> lol, forgot it , it was just to specify that it is code. >>> >>> But I add only : >>> <property key="EcommerceNewCollections"> >>> <value xml:lang="en">New collections</value> >>>> <value xml:lang="fr">Nouvelles collections</value> >>> </property> >>> >>> It doesn't work when I call it by ${uiLabelMap.EcommerceNewCollections} >>> >>> >>> 2013/10/11 Jacques Le Roux <[email protected]> >>> >>>> It should work, but what are those <code></code> ? >>>> >>>> Jacques >>>> >>>> Antony Adopo wrote: >>>>> Hello Ofbizers, >>>>> >>>>> I try to add new labels in EcommerceUiLabels.xml (Also CommonUiLabels.xml) >>>>> for instance : >>>>> <code> >>>>> <property key="EcommerceNewCollections"> >>>>> <value xml:lang="en">New collections</value> >>>>> <value xml:lang="fr">Nouvelles collections</value> >>>>> </property> >>>>> </code> >>>>> >>>>> But It doesn't work. Even I restart many times ofbiz and my computer. But >>>>> the first (native) Labels work . >>>>> >>>>> Please Help >>>>> >>>>> Thanks
