language pack - how to 'activate' it in an application

W

Wiktor Zychla

I've downloaded the polish language pack for .Net Framework 1.1 and I've
installed it. Now I expect to see any exception messages in my native
language but I still get english texts in exception messages.

I think that I should somehow tell my application that it should use the
installed language pack but I have no idea on how to do it (I've read that I
could install more than one language pack so there should be a method to
'activate' the selected one).

Could someone point the right direction to me?

Thanks for any help,
Wiktor Zychla
 
W

Wiktor Zychla

let me know if this help

thanks Valentin but this does not help me.

you see, there's no polish version of dotnetfx.exe (and there will not be),
but there's polish language pack for english .net framework.

I've installed english framework 1.1 and the polish language pack and now I
have no idea on how to get polish messages in my application. for example
'object reference not set to an instance of an object' is an english
message. I expect to see it in my language (that's what the language pack is
for, I suppose) but I still get english message.

do you have any other ideas?

Wiktor
 
V

Valentin Rozescu

let me know if this help

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/ht
ml/dotnetfxref1_1.asp

Installing Localized Versions of Dotnetfx.exe
The .NET Framework redistributable (Dotnetfx.exe) is available in 22
language versions. All versions of dotnetfx.exe are the same
programmatically, the only difference between each of the 22 versions is the
user interface displayed during installation. For example, when installing a
Japanese language version of dotnefx.exe on an English language machine all
of the installation dialogs and the end user license agreement (EULA) will
be in Japanese, but the code itself isn't localized and all dialogs
displayed by the .NET Framework will be in English. Therefore if you wish to
see installation dialogs in a specific language, you should install the
corresponding version of dotnetfx.exe.
 
M

Maciej Szczepaniak

U¿ytkownik Wiktor Zychla napisa³:
I've installed english framework 1.1 and the polish language pack and now I
have no idea on how to get polish messages in my application. for example
'object reference not set to an instance of an object' is an english
message. I expect to see it in my language (that's what the language pack is
for, I suppose) but I still get english message.

I can just say that it worked for me - with the Polish language pack for
..NET 1.1, on Win XP PL.

Make sure that your application is actually executed with .NET 1.1: if
you had .NET 1.0 on your system and then installed 1.1, then both
frameworks exist side by side. If your application was compiled for 1.0
(i.e. was compiled with VS 2002), it will be executed with 1.0 - which
has no support for Polish language pack.

Pozdrowienia ;-)
Maciek
 
W

Wiktor Zychla

can you tell me where is the language pack on the web
i want to look at it
thank you

http://microsoft.com/downloads/details.aspx?FamilyId=04DBAF2E-61ED-43F4-8D2A
-CCB2BAB7B8EB&displaylang=en

there are several language packs. try to download any language pack
(langpack.exe) and you'll see a new folder under

C:\WINNT\Microsoft.NET\Framework\v1.1.4322

(I have C:\WINNT\Microsoft.NET\Framework\v1.1.4322\pl for polish language
pack)

Now, I have my application in C# and I have no idea on how to use the
language pack for application messages.

I've been diggin up the net for 3 hours now and still cannot find any clue
;(

Wiktor
 
W

Wiktor Zychla

Make sure that your application is actually executed with .NET 1.1: if
you had .NET 1.0 on your system and then installed 1.1, then both
frameworks exist side by side. If your application was compiled for 1.0
(i.e. was compiled with VS 2002), it will be executed with 1.0 - which
has no support for Polish language pack.

indeed, now I can see it and I can also see why I haven't seen it before: my
application uses ADO.NET and I get the error message 'Login failed for user
XXXXX'.

The message is still in english but I suppose this is a SQLServer message
and thus it is not translated by NET Framework. All other messages are
translated correctly. Am I right?

I also wonder how it works when you have more than one language pack
installed. which one is used by applications?

Regards (rowniez pozdrawiam)
Wiktor
 
V

Valentin Rozescu

can you tell me where is the language pack on the web
i want to look at it
thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top