MitoCode
MitoCode

Reputation: 327

Changing components language PrimeFaces

Is it possible to change the language of some components from primefaces, like FILEUPLOAD component, it has buttons label as CHOOSE, CANCEL,UPLOAD, can i change this labels to my language?

Upvotes: 4

Views: 5630

Answers (1)

Mathew Rock
Mathew Rock

Reputation: 989

Choose = label="anyString" CANCEL = cancelLabel="anyString" and UPLOAD = uploadLabel="anyString" then <p:fileUpload cancelLabel="anyString" label="anyString" uploadLabel="anyString" />

Upvotes: 13

Related Questions