Hello I need to localize the filedialog componenet to french
I have created the frenchlocalization class and it works partially, as you can see from the attached screenshot some of the elements are properly translated but all the buttons and some labels are not translated
I don't see what I am missing:
here below the code and the class
-----------------------------------------------------
Select Case MyPreference.ifLanguage
Case "fr" : FileDialogsLocalizationProvider.CurrentProvider = New FrenchLocalization.MyFrenchFileDialogsLocalizationProvider()
End Select
-------------------------------------------------------
Public Class MyFrenchFileDialogsLocalizationProvider
Inherits FileDialogsLocalizationProvider
Public Overloads Overrides Function GetLocalizedString(ByVal id As String) As String
Select Case id
Case FileDialogsStringId.OK
Return "OK"
Case FileDialogsStringId.Yes
Return "Oui"
Case FileDialogsStringId.No
Return "Non"
Case FileDialogsStringId.Cancel
Return "Annuler"
Case FileDialogsStringId.Back
Return "Arrière"
Case FileDialogsStringId.Forward
Return "Avant"
Case FileDialogsStringId.Up
Return "en Haut"
Case FileDialogsStringId.NewFolder
Return "Nouveau Dossier"
Case FileDialogsStringId.SearchIn
Return "Chercher dans"
Case FileDialogsStringId.SearchResults
Return "Résultats de recherche dans"
Case FileDialogsStringId.ExtraLargeIcons
Return "Très grandes icônes"
Case FileDialogsStringId.LargeIcons
Return "Grandes icônes"
Case FileDialogsStringId.MediumIcons
Return "Icônes moyennes"
Case FileDialogsStringId.SmallIcons
Return "Petites icônes"
Case FileDialogsStringId.List
Return "Liste"
Case FileDialogsStringId.Tiles
Return "Titres"
Case FileDialogsStringId.Details
Return "Détails"
Case FileDialogsStringId.NameHeader
Return "Nom"
Case FileDialogsStringId.SizeHeader
Return "Taille"
Case FileDialogsStringId.TypeHeader
Return "Type"
Case FileDialogsStringId.DateHeader
Return "DModifié le"
Case FileDialogsStringId.FileSizes_B
Return "bytes"
Case FileDialogsStringId.FileSizes_GB
Return "GB"
Case FileDialogsStringId.FileSizes_KB
Return "KB"
Case FileDialogsStringId.FileSizes_MB
Return "MB"
Case FileDialogsStringId.FileSizes_TB
Return "TB"
Case FileDialogsStringId.OpenFileDialogHeader
Return "Ouvrir le fichier"
Case FileDialogsStringId.OpenFolderDialogHeader
Return "Ouvrir le dossier"
Case FileDialogsStringId.SaveFileDialogHeader
Return "Enregistrer sous"
Case FileDialogsStringId.FileName
Return "Nom de fichier:"
Case FileDialogsStringId.Folder
Return "Dossier:"
Case FileDialogsStringId.SaveAsType
Return "Enregistrer comme type:"
Case FileDialogsStringId.OpenFolder
Return "Ouverture du dossier"
Case FileDialogsStringId.FileFolderType
Return "Dossier de fichier"
Case FileDialogsStringId.Cut
Return "Couper"
Case FileDialogsStringId.Copy
Return "Copier"
Case FileDialogsStringId.CopyTo
Return "Copier vers"
Case FileDialogsStringId.Delete
Return "Supprimer"
Case FileDialogsStringId.Edit
Return "Modifier"
Case FileDialogsStringId.MoveTo
Return "Déplacer vers"
Case FileDialogsStringId.Open
Return "Ouvrir"
Case FileDialogsStringId.Paste
Return "Coller"
Case FileDialogsStringId.Properties
Return "Propriétés"
Case FileDialogsStringId.Rename
Return "Renommer"
Case FileDialogsStringId.Save
Return "Enregistrer"
Case FileDialogsStringId.View
Return "Vue"
Case FileDialogsStringId.CheckThePath
Return "Vérifier le chemin et réessayer."
Case FileDialogsStringId.ConfirmSave
Return "Confirmer enregistrer sous"
Case FileDialogsStringId.FileExists
Return "existe déjà."
Case FileDialogsStringId.FileNameWrongCharacters
Return "Un nom de fichier ne peut pas contenir les caractères : \ / : * ? "" < > |"
Case FileDialogsStringId.InvalidExtensionConfirmation
Return "Etes-vous sûr de vouloir le changer?"
Case FileDialogsStringId.InvalidFileName
Return "Le nom du fichier n'est pas valide."
Case FileDialogsStringId.InvalidOrMissingExtension
Return "Si vous changez l'extension d'un fichier, ce dernier peut devenir inutilisable."
Case FileDialogsStringId.InvalidPath
Return "Le chemin n'existe pas."
Case FileDialogsStringId.OpenReadOnly
Return "Ouvrir en lecture seule"
Case FileDialogsStringId.ReplacementQuestion
Return "Voulez-vous le remplacer?"
Case Else
Return String.Empty
End Select
End Function
End Class
This is the strangest error, and I can't understand why it's happening, or how to fix it.
I am trying to use the RadSaveFileDialog, and it doesn't appear.
That's it.
The code is stopped at the 'ShowDialog' call, as expected, but no dialog is visible. Because it's inside the Telerik code, I can't see what's causing it to fail.
Does anyone have any ideas where to look to fix this? The old-style SaveFileDialog from Windows works just fine, but it doesn't have all the nice theming that the Telerik one does.
Hello! I am using the ExplorerControl for an application where I want to limit the user to selecting files and folders - they should otherwise be completely unable to modify the filesystem. Is there a way to disable the feature where the user selects a file or folder, then selects it again, and the file entry changes to let them edit the name of the selected item?
This occurs with both a mouse and touchscreen selection; I'd like to disable both of these cases. To clarify, this is distinct from the "rename" feature of the Windows context menu, which normally appears on mouse right-click (and can be disabled by handling that event).
Thanks for your help!
--Ed
How can I find out the selected layout (list, small icon, etc.) chosen by the user at the point the dialog is closed?
Thanks
Steve
Hi,
How can I prevent the DragDrop operation in the File Open and File Save dialogs?
Thanks
Steve
Hi,
I'm using the latest Telerik assemblies (2019.2.508.40) and when I utilize the new RadOpenFileDialog it doesn't seem to capture the theme on the form (when executing ShowDialog()). It opens with the normal RadForm look (blue). My theme set on the form is Fluent. I checked the properties on the RadOpenFileDialog, but am not seeing a ThemeName property.
RadOpenFileDialog openFileDialog = new RadOpenFileDialog();
DialogResult result = openFileDialog.ShowDialog();
1. Is there a way that I can set the top level folder they can access. So lets say I have a directory structure C:\Files\ExplorerFile\Ticket\4\Testing/ I set the explorer to open at C:\Files\ExplorerFile\Ticket\4\ They can navigate down and create new folders but I do not want them to go up past \4.
2. The default is set to Move but you can hold ctrl or shift to make it a copy. Is there a way to set it to default to copy, or turn off the move function?
3. Is there a way to set the control o if you double click a file that it will open rather then right click and open?
I am happy Telerik created these dialogs for aesthetic reasons.
Is there a way to restrict access to file operations (Delete, copy, et. al.)?? I want to restrict file functions that can be performed via these dialogs. For example, I want to prevent someone from copying files from a USB when selecting a folder or selecting a file.
Thanks,
Jim
Hi team,
is there any way to read what is selected (single or multi select) when I click on folder/file in Explorer control?
Basically, I want to update my textbox with that what is selected.
Thx,
Oliver