Hi Maverickjin,
Thanks for using Syncfusion products.
Query 1: problem in localization of upload box text
You can apply the localization for upload box by using “UploadSettings” property available in “ej.FileExplorer.Locale[“es-ES”]”. Please refer to the code block in our online demo, http://js.syncfusion.com/demos/web/#!/azure/fileexplorer/localization .
Inbuilt localization support for the upload dialog in “FileExplorer” component is available from the version 13.3.0.7. If you are using older version before 13.3.0.7, you have to separately specify the localization for upload box dialog as mentioned below.
Code example [JavaScript]:
ej.Uploadbox.Locale[“es-ES”] = {
buttonText: {
upload: "Subir",
browse: "Explorar",
cancel: "cancelar"
},
dialogText: {
title: "Subir Box",
name: "nombre",
size: "tamaño",
status: "estado"
}
};
|
Query 2: if I upload the image, then would it possible to get the information of the image by clicking the uploaded icon?
You can achieve your requirement using “select” event of the file explorer. This event will be triggered, when you select a file or folder in the file explorer. In this “select” event, you will get the selected item details and these details will be helpful to you. Please refer to below code example.
Code example [JavaScript]:
To know more about APIs of the file explorer, please refer to our online document link, http://help.syncfusion.com/js/api/ejfileexplorer
Regards,
Balamurugan P