{"action":"created","issue":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/5285","repository_url":"https://api.github.com/repos/wixtoolset/issues","labels_url":"https://api.github.com/repos/wixtoolset/issues/issues/5285/labels{/name}","comments_url":"https://api.github.com/repos/wixtoolset/issues/issues/5285/comments","events_url":"https://api.github.com/repos/wixtoolset/issues/issues/5285/events","html_url":"https://github.com/wixtoolset/issues/issues/5285","id":152570540,"number":5285,"title":"Burn should use user UI language for localization instead of formatting language","user":{"login":"jozefizso","id":287778,"avatar_url":"https://avatars.githubusercontent.com/u/287778?v=3","gravatar_id":"","url":"https://api.github.com/users/jozefizso","html_url":"https://github.com/jozefizso","followers_url":"https://api.github.com/users/jozefizso/followers","following_url":"https://api.github.com/users/jozefizso/following{/other_user}","gists_url":"https://api.github.com/users/jozefizso/gists{/gist_id}","starred_url":"https://api.github.com/users/jozefizso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jozefizso/subscriptions","organizations_url":"https://api.github.com/users/jozefizso/orgs","repos_url":"https://api.github.com/users/jozefizso/repos","events_url":"https://api.github.com/users/jozefizso/events{/privacy}","received_events_url":"https://api.github.com/users/jozefizso/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wixtoolset/issues/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/wixtoolset/issues/labels/WixStdBA","name":"WixStdBA","color":"f29513"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wixtoolset/issues/milestones/6","html_url":"https://github.com/wixtoolset/issues/milestones/v3.x","labels_url":"https://api.github.com/repos/wixtoolset/issues/milestones/6/labels","id":1468199,"number":6,"title":"v3.x","description":null,"creator":{"login":"wixbot","id":7120850,"avatar_url":"https://avatars.githubusercontent.com/u/7120850?v=3","gravatar_id":"","url":"https://api.github.com/users/wixbot","html_url":"https://github.com/wixbot","followers_url":"https://api.github.com/users/wixbot/followers","following_url":"https://api.github.com/users/wixbot/following{/other_user}","gists_url":"https://api.github.com/users/wixbot/gists{/gist_id}","starred_url":"https://api.github.com/users/wixbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wixbot/subscriptions","organizations_url":"https://api.github.com/users/wixbot/orgs","repos_url":"https://api.github.com/users/wixbot/repos","events_url":"https://api.github.com/users/wixbot/events{/privacy}","received_events_url":"https://api.github.com/users/wixbot/received_events","type":"User","site_admin":false},"open_issues":560,"closed_issues":174,"state":"open","created_at":"2015-12-20T07:15:37Z","updated_at":"2016-05-04T17:10:25Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-05-02T14:56:24Z","updated_at":"2016-05-04T17:12:03Z","closed_at":null,"body":"* Which version of WiX are you building with?\r\n\r\n> WiX 3.10.2\r\n\r\n* Which version of Visual Studio are you building with (if any)?\r\n\r\n> Visual Studio 2015 Update 2\r\n\r\n* Which version of .NET are you building with?\r\n\r\n> .NET 4.6\r\n\r\n* Describe the problem and the steps to reproduce it.\r\n\r\n> I created localized bootstrapper application. I use Windows 10 with English UI and Slovak regional (date/time) formatting. When I run the installer created with burn bootstrapper it is displayed in Slovak language.\r\n\r\n* Describe the behavior you expected and how it differed from the actual behavior.\r\n\r\n> As I have the English user interface language selected in Windows, the burn bootstapper should use the English localization file.\r\n\r\n\r\n## Feature proposal\r\n\r\nI think users expect to have applications localized based on the UI language. Current burn behavior is different from other Windows applications because it uses date/time formatting language to load localization files.\r\n\r\nAlso new variable `UserUILanguageID` should be available to the burn engine that will get it's value from the `GetUserDefaultUILanguage()` function so installation authors can have access to both UI and formatting languages.\r\n\r\n| Burn variable | Win32 function     |\r\n|------------------|----------------------------|\r\n| `UserLanguageID`   | `GetUserDefaultLangID()`     |\r\n| `UserUILanguageID` | `GetUserDefaultUILanguage()` |\r\n\r\n\r\nSimillar issue: #3922"},"comment":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/comments/216935293","html_url":"https://github.com/wixtoolset/issues/issues/5285#issuecomment-216935293","issue_url":"https://api.github.com/repos/wixtoolset/issues/issues/5285","id":216935293,"user":{"login":"barnson","id":916265,"avatar_url":"https://avatars.githubusercontent.com/u/916265?v=3","gravatar_id":"","url":"https://api.github.com/users/barnson","html_url":"https://github.com/barnson","followers_url":"https://api.github.com/users/barnson/followers","following_url":"https://api.github.com/users/barnson/following{/other_user}","gists_url":"https://api.github.com/users/barnson/gists{/gist_id}","starred_url":"https://api.github.com/users/barnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barnson/subscriptions","organizations_url":"https://api.github.com/users/barnson/orgs","repos_url":"https://api.github.com/users/barnson/repos","events_url":"https://api.github.com/users/barnson/events{/privacy}","received_events_url":"https://api.github.com/users/barnson/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T17:12:03Z","updated_at":"2016-05-04T17:12:03Z","body":"Keeping open for the variable suggestion."}}