DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
340 stars 188 forks source link

DYN-7472 Set the UI culture back to default Revit culture after Dynamo is closed. #3111

Closed reddyashish closed 1 week ago

reddyashish commented 2 weeks ago

Purpose

https://jira.autodesk.com/browse/DYN-7472

This was introduced sometime during the 3.0 version when the locale settings were moved to Dynamo preferences object. When Dynamo is opened, it sets the locale to the one set in Dynamo but after Dynamo is closed, we want to set it back to the default culture in Revit. No changes needed on Dynamo core.

Declarations

Check these if you believe they are true

Reviewers

@Mikhinja @QilongTang @BogdanZavu