[Mono-list] Localization problem runing Microsoft Sample WorldCalc
Jörg Würzer
joerg.wuerzer@ixos.de
Wed, 27 Aug 2003 15:44:24 +0200
Hi all,
i'm trying some Microsoft Samples to run unter Mono / Linux. For now this is
the WorldCalc excample, which can be found in Microsoft sample applications.
Compiling under Linux works fine, only the resource files are generated and
linked using resgen.exe and al.exe on my Windows System. The sample contains
three language specific resource files (the embedded one in the main
assembly, one in subdir "de" and another one in subdir "de-ch" for
switzerland). The standard resource file which is embedded in the main
assembly can be loaded and works well. But any other won't work.
On execution following message occurs (included is the dir):
drwxr-xr-x 2 jw jw 1024 Aug 27 15:09 de
drwxr-xr-x 2 jw jw 1024 Aug 27 15:09 de-ch
-rwxr--r-- 1 jw jw 901 Sep 27 2001 math.cs
-rwxr-xr-x 1 jw jw 2560 Aug 27 15:25 math.dll
-rwxr--r-- 1 jw jw 613 Aug 27 14:57 MyStrings.resources
-rwxr--r-- 1 jw jw 255 Sep 27 2001 mystrings.txt
-rwxr--r-- 1 jw jw 1323 Sep 27 2001 parser.cs
-rwxr-xr-x 1 jw jw 2560 Aug 27 15:25 parser.dll
-rwxr--r-- 1 jw jw 7276 Aug 27 15:24 WorldCalc.cs
-rwxr--r-- 1 jw jw 7272 Sep 27 2001 WorldCalc.cs~
-rwxr-xr-x 1 jw jw 7168 Aug 27 15:26 WorldCalc.exe
[jw@pc068 ResourceTest]$ mono WorldCalc.exe de
MonoWin32: Initializing WineLib
Could not stat /nt (Datei oder Verzeichnis nicht gefunden), ignoring drive
E:
Warning: Language 'de_DE' was not found, retrying without country name...
Warning: Language 'de' was not recognized, defaulting to English
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not
found!
Using closest match instead (VNC keyboard layout) for scancode mapping.
Please define your layout in windows/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See the Wine User Guide, chapter "Keyboard" for more information.
err:menu:MENU_GetSysMenu failed to load system menu!
Control notification Code 768 Id = Hwnd 65571
Control notification Code 1024 Id = Hwnd 65571
[jw@pc068 ResourceTest]$
Now my question:
- Is support not implemented yet, or are there any mistakes made by me.
- If Resourcemanager is supported at this time, is there any working sample
out there.
Best wishes and thanks in advance,
Joerg Wuerzer