Just starting out? Need help? Post your questions and find answers here.
-
horst
- Enthusiast

- Posts: 197
- Joined: Wed May 28, 2003 6:57 am
- Location: Munich
-
Contact:
Post
by horst »
Is there any API function to get a translation for some common words like Yes/No/Ok/Cancel into the user's language?
I know that the messagebox_() does it, but I need it in a custom window.
Horst.
-
GPI
- PureBasic Expert

- Posts: 1394
- Joined: Fri Apr 25, 2003 6:41 pm
Post
by GPI »
horst wrote:Is there any API function to get a translation for some common words like Yes/No/Ok/Cancel into the user's language?
I know that the messagebox_() does it, but I need it in a custom window.
I don't like this two-language-Boxes. Do everything in one language, it look better.
-
Dr_Pixel
- User

- Posts: 36
- Joined: Fri Oct 24, 2003 1:36 pm
Post
by Dr_Pixel »
Yes, good point -
If they can read the message itself in the language your program is written in, they can read the buttons too.
And if they can't read the message, how would they know if they want to cancel or ok?
Dr Pixel
-
Shopro
- Enthusiast

- Posts: 148
- Joined: Tue May 13, 2003 8:05 am
Post
by Shopro »
Yeah,
I rather dislike having "messagebox_()" using the OS language too because it looks funny when English programs have "OK" "Cancel" in Japanese.
Wonder if there is a way to set messagebox_() to a specific language?
-Shopro