Jump to content

Suggestion: Let plugins find out which language Paint.NET is using

Recommended Posts

Brilliant Idea Simon, but if this were implemented, wouldn't that require all plugin authors to individually translate their plugins to every language PDN supports?

Space...The Final Frontier. -James Tiberius Kirk; circa 2260s


Link to comment
Share on other sites

Seems like a logical, simple piece of info to give access to.

For now I'd just use CultureInfo.CurrentUICulture. This isn't guaranteed to be correct since it has to be set per-thread, so pretty much only the UI thread will have the "correct" value. But, Effects are (currently) instantiated on the UI thread for this so you can at least access it in your constructor.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...