Language of "Yes"/"No"-Buttons on MessageRequester?
Language of "Yes"/"No"-Buttons on MessageRequester?
How I set the language to the system language on Mac OS? I see "Yes" and "No" but the system language is german. Or can I set the texts of the MessageRequester-Buttons? Thanks!
Re: Language of "Yes"/"No"-Buttons on MessageRequester?
Sorry
Removed
Not for Mac
Removed
Not for Mac
Last edited by RASHAD on Sat Sep 16, 2017 7:34 pm, edited 1 time in total.
Egypt my love
Re: Language of "Yes"/"No"-Buttons on MessageRequester?
I doubt if it is possible on PB for Mac.
You can influence the language for some of the dialogs like the file requester by setting CFBundleDevelopmentRegion inside the Info.plist file.
For MessageRequester this has no effect so it looks like the button labels are hardcoded by PureBasic.
You can create your own dialog by using NSAlert.
You can influence the language for some of the dialogs like the file requester by setting CFBundleDevelopmentRegion inside the Info.plist file.
For MessageRequester this has no effect so it looks like the button labels are hardcoded by PureBasic.
You can create your own dialog by using NSAlert.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Language of "Yes"/"No"-Buttons on MessageRequester?
It's not possible to change the language of the buttons in PureBasic natively. You may take a look into this old thread with a non-API example from jamirokwai and an API example from me (only for MacOS using the Carbon framework but still working in MacOS 10.11.6 'El Capitan' with PB 5.61 x86 but not with PB 5.61 x64 - the Carbon framework has never been ported to 64 bit by Apple).