Skip to content

Save File Dialog with non-English Windows languages #59

@infeeeee

Description

@infeeeee

On non-English Windows installations(not Revit), Windows replaces the buttons on the save file dialog to the language's counterparts. My Windows is installed in Hungarian, and on the Save file dialog Yes/No/Cancel is replaced by Igen/Nem/Mégse:
kép

When I forget to add handling of saving/closing the Revit file to the dynamo script, RBP just hangs, and the following shows up in the log:

19:13:38 : 'Save File' dialog box detected.
19:13:38 : 
19:13:38 : WARNING: Could not find suitable button to click for 'Save File' dialog box!
19:13:38 : 
19:13:38 : 	Button: 'Igen'
19:13:38 : 
19:13:38 : 	Button: 'Nem'
19:13:38 : 
19:13:38 : 	Button: 'M‚gse'

My feature request/question is: is it possible to modify the "suitable button"?

Edit:

I guess this issue is somewhat related to #10 . So maybe this just a head's up, so please add support for non-english languages when you work on the saving methods. Thank you for your work again!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions