Hello, the company I work for have purchased the JavaScript version of your product, and now we are trying to use the
The images relating to the question are enclosed with this post.
Currently, I am facing two different problems:
Firstly, it is the translation issue. Since the company I work for is located in Korea, I need to change the English text in the upload box into Korean. Would this be possible?
Secondly, if I upload the image, then would it possible to get the information of the image by clicking the uploaded icon? The question is explained in the image named "2.png"
Thank you very much, and my company is really making good use of your product.
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]:
$("#fileExplorer").ejFileExplorer({ path: "http://mvc.syncfusion.com/ODataServices/FileBrowser/", // From 13.3.0.7 version, we use below path for “ajaxAction” API ajaxAction:"http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction", select: "onSelect" });
function onSelect(args) { // Here you will get some necessary details about selected file like args.name, args.path, args. selectedItems (It contains selected file details (name, size, modified date, etc..) console.log(args); } |
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