Pelles C forum

Pelles C => Feature requests => Topic started by: leejia on March 25, 2006, 10:27:59 AM

Title: Can you support Chinese?
Post by: leejia on March 25, 2006, 10:27:59 AM
I know Pelles C is not support Chinese now.Why?
I am chinese,if you want to support Chinese and translate English IDE/Help into Chinese,I can help you!
My email:bobolijia@gmail.com
Title: Can you support Chinese?
Post by: Ngan Lo on March 27, 2006, 09:35:47 AM
http://smorgasbordet.com/phpBB2/viewtopic.php?t=645

if it doesnt work, then i think it's not gonna happen until Pelle say yes.
Title: Can you support Chinese?
Post by: leejia on March 27, 2006, 01:14:27 PM
I had try this way,but some error "unable to load resource DLL";
I use ResHacker edit.
Title: Can you support Chinese?
Post by: Pelle on March 27, 2006, 07:30:39 PM
I'm not sure about the best approach here...

Including translations for various languages in the base package will just make it bloated. Having separate downloads for each translation/language is probably better, but this also means extra time managing them. Keeping translations up-to-date will be a problem.

Maybe a "translation package" is needed, where it's possible to quickly find the differences to the previous version, and making translations only of the new strings/dialogs/whatever. This might be doable for the resource DLL's, but it sure means additional work, and I'm not sure how to handle the help file...

Pelle
Title: Can you support Chinese?
Post by: leejia on March 28, 2006, 03:01:36 AM
I see,thank you.
Title: Can you support Chinese?
Post by: TimoVJL on March 28, 2006, 11:47:36 AM
Finding out LCID for dll-name:
Code: [Select]

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    LPSTR lpszCmdLine, int nCmdShow)
{
LCID uiVal;
char szBuffer[260];

uiVal = GetUserDefaultLCID();
wsprintf(szBuffer, "UserDefaultLCID: %04Xh", uiVal);
MessageBox(0, szBuffer, "UserDefaultLCID", MB_OK);
return 0;
}

Title: Can you support Chinese?
Post by: kalikiana on June 27, 2006, 08:52:07 PM
I think you should not include translations. Most of the time one doesn't look at the text as much if one gets used to the IDE. It would rather bloat code.