toe_head2001 Posted August 20, 2015 Share Posted August 20, 2015 Is there an approved method to detect which localization paint.net is set to? I would like to use strings from a localized resource file based on the current localization of paint.net. I.E. If paint.net is set to Spanish, my plugin would use my Spanish resource file. Thanks. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
BoltBait Posted August 20, 2015 Share Posted August 20, 2015 It is listed in the Registry under: Computer\HKEY_CURRENT_USER\Software\Paint.NET\UI/Language Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 20, 2015 Share Posted August 20, 2015 No, don't use the registry. Just use the value of CultureInfo.CurrentUICulture. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 20, 2015 Author Share Posted August 20, 2015 Just use the value of CultureInfo.CurrentUICulture. Thanks. Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.