L10n for Total files and Size info

Hello,

How can I translate the following info in Uploader component?

Image_4930_1700137858666

I could not find it in the localization section, nor in the list of strings in https://github.com/syncfusion/ej2-locale/blob/master/src/en-US.json.

Thank you.


2 Replies

KP Kokila Poovendran Syncfusion Team November 20, 2023 03:49 PM UTC

Hi Marcin Ficek,


We have considered the reported issue Need to add localization text for 'Total files' and 'Size'" as a bug from our end and the fix for the issue will be included with our upcoming patch release ,which is expected to be rolled out in mid-December."


Now you can track the status of the reported issue through the feedback below 

Feedback: https://www.syncfusion.com/feedback/48614/need-to-add-localization-text-for-total-files-and-size


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.



KP Kokila Poovendran Syncfusion Team December 16, 2023 03:35 PM UTC

Hi Marcin Ficek,


Upon reviewing your query, we are pleased to inform you that localization support for "Total files" and "File Size" in the Uploader component is available. To assist you, we have included the necessary code snippet for the French culture:



ej.base.L10n.load({

    'fr-CH': {

        'uploader': {

            "invalidMinFileSize": "La taille du fichier est trop petite",

            "invalidMaxFileSize": "La taille du fichier dépasse 28 Mo",

            "invalidFileType": "Le type de fichier n'est pas autorisé",

            "Browse": "Feuilleter",

            "Clear": "Clair",

            "Upload": "Télécharger",

            "dropFilesHint": "ou Déposer des fichiers ici",

            "uploadFailedMessage": "Impossible d'importer le fichier",

            "uploadSuccessMessage": "Fichier téléchargé avec succès",

            "removedSuccessMessage": "Fichier supprimé avec succès",

            "removedFailedMessage": "Le fichier n'a pas pu être supprimé",

            "inProgress": "Téléchargement",

            "readyToUploadMessage": "Prêt à télécharger",

            "remove": "Retirer",

            "cancel": "Annuler",

            "delete": "Supprimer le fichier",

            "totalFiles": 'Total des fichiers',

            "size": 'taille',

            "totalFiles": 'Total des fichiers',

            "size": 'taille'

        }

    }

});

 



You can find a working sample at the following link: https://stackblitz.com/edit/wqu6sn-twjpkl?file=index.html,index.js


We will also include these details in our upcoming documentation release for your reference. Kindly review the changes and incorporate them into your application. If you have any additional concerns, please don't hesitate to reach out.



Regards,

Kokila Poovendran.


Loader.
Up arrow icon