-
1. Re: Does i18n with message-bundle work for rich:fileUpload in RichFaces 4.1?
uipko Oct 25, 2012 8:43 AM (in response to ricardolsmendes)I'm migrating from RichFaces 3 to RichFaces 4.2.2 and facing the same problem. For RichFaces 3 the following properties worked perfectly:
RICH_FILE_UPLOAD_ADD_LABEL
RICH_FILE_UPLOAD_ENTRY_CANCEL_LABEL
RICH_FILE_UPLOAD_ENTRY_CLEAR_LABEL
RICH_FILE_UPLOAD_ENTRY_STOP_LABEL
RICH_FILE_UPLOAD_PROGRESS_LABEL
RICH_FILE_UPLOAD_SIZE_ERROR_LABEL
RICH_FILE_UPLOAD_TRANSFER_ERROR_LABEL
RICH_FILE_UPLOAD_UPLOAD_LABEL
What do I have to change top make it work in RichFaces 4 ?
Thanks in advance,
Uipko
-
2. Re: Does i18n with message-bundle work for rich:fileUpload in RichFaces 4.1?
ricardolsmendes Oct 25, 2012 6:18 PM (in response to uipko)Hi Uipko,
I really don't know how to do it...
Rich FileUpload's reference docs only explains the labels we can use when declaring the component (http://docs.jboss.org/richfaces/latest_4_2_X/Component_Reference/en-US/html/chap-Component_Reference-Rich_inputs.html#sect-Component_Reference-Rich_inputs-richfileUpload).
[]s,
Ricardo.
-
3. Re: Does i18n with message-bundle work for rich:fileUpload in RichFaces 4.1?
uipko Oct 29, 2012 4:04 AM (in response to ricardolsmendes)Hi Ricardo,
Thanks for the reply! These labels is also the only thing I could find. Unfortunately this means that I have to add the translations to each instance of the upload component. I'm also missing a couple of translations which are probably labels of the progress bar. Still hope the documentation is incomplete and somebody knows the keys In the meanwhile I'll use the labels to display the translations.
Thanks,
Uipko