add support for system default locale
Split and merge PDF files on any platform
Brought to you by:
torakiki
PDFsam uses Locale.UK per default, even when it supports the current system locale. This way a user outside the UK always has to know about this and change the language settings of PDFsam manually. The current locale handling also does not allow PDFsam to simply follow the system locale settings, instead a user always has to reconfigure PDFsam manually every time after changing the system locale.
The attached patch fixes this issue by introducing a language "System default" (with an empty value) and a three stage locale handling:
configured locale > system locale > fallback locale
Hi Ronny, thanks for the patch. I don't think the patch itself will go into PDFsam, mostly because I'm completely rewriting it and version 2.2.2 will most probably be the last version of branch 2.
I understand what's the need behind this patch and implemented something similar for the future v3.0 here: https://bitbucket.org/torakiki/pdfsam/issue/18/