btzy/nativefiledialog-extended

All files wildcard filter description cannot be localized

jragan-work opened this issue · 1 comments

I cannot find a way to change the default All files wildcard filter description to match my locale.

It looks like it was hard coded in all platform specific code. I can add my own wildcard filter and it functions properly, but it does not override the default:
sample

btzy commented

Unfortunately, it is not possible to change that, since it is hardcoded. This behaviour was inherited from https://github.com/mlabbe/nativefiledialog, and on hindsight was a bad decision. There is also a similar issue in the titles of Linux dialogs (both GTK and Portals); they are hardcoded too.

This should be fixable by #92, where we could make an NFD_OpenFileDialog_SetFilterList that doesn't automatically add the "All files" option (so the user can add it manually).