Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi experts,

is it possible that the language pack that is being installed along with .NET 2.0 itself is completely dependent on the target machine?

That would mean that the creator of the application setup package that includes the .NET setup had no influence at all on what language pack is being installed.

If so, how could I test that having only a german Windows XP Prof SP3 at hand?


[Edit]This is not about application localization. It's the .NET framework that provides language packs. I do not want it to install the German language pack on machines all over the world.[/Edit]
Posted
Updated 29-Nov-11 22:49pm
v2
Comments
VallarasuS 29-Nov-11 13:19pm    
Are you looking for assistance in testing? or want to localize/Internationalize you app? for testing you may have to setup VMs.
lukeer 30-Nov-11 4:47am    
I want to include .NET framework 2.0 setup in my own application's setup. This works. But it installs the German .NET framework 2.0 language pack, which I do not want.

How can I stop the language pack installation?
Sergey Alexandrovich Kryukov 29-Nov-11 20:07pm    
What do you mean by "language pack"? Satellite assemblies for the application?
--SA
lukeer 30-Nov-11 4:45am    
I mean the .NET framework language pack. It is a satellite assembly in an executable called "langpack.exe". See here[^] at the heading ".NET Framework 2.0".

1 solution

Who needs language packs? After I visited Hamburg, I though all Germans speak very good English. I has this illusion until I visited Berlin. :-)

Well, I would suggest to do just the opposite: avoid dependency between target machine settings (did you mean dependency of international settings?) and installation of a version of localization. Yes, the creator of the application should only provide a set of localization, but who will decide which culture to use? The settings for application's localization should be chosen by the user and only by the user. Also, the user should be able to switch to a different culture at any moment, which is technically very easy with .NET.

Here is why: even if you achieve what you are asking about, it cannot be reliable. There is nothing with tracks relationships between application culture and system settings. I mean, anyone can change the system settings anytime, but it won't affect application settings. Another reason is this: to me, the best installation is no installation: the application should be fully functional if the content of the output directory is simply copies as it on the target machine. These days, Microsoft started to strongly encourage such approach, which seems to be really important to me. That said, the long-term application settings should be set up by the application itself. One of such settings should be the UI culture.

You should understand one thing. If you're using German, you're using something which is really close to English, which is just yet another Germanic language. German UI might be an adequate language to use in UI. Try to think Russian or, say, Hungarian. Being a fan (and, to a certain extent, an expert) of Russian language, I avoid using it in UI — it just does not seem to play well even though it looks perfect in Russian Web sites and elsewhere. I simply cannot tolerate the ugly usage of my language most programmers do and highly prefer English. Perhaps you would be surprised to know how many people of different cultures prefer English in UI. This should be a choice of a user which should be possible to make at any given moment of time.

—SA
 
Share this answer
 
Comments
lukeer 30-Nov-11 4:39am    
Personally, I totally agree with you in that oftentimes localized UIs simply look wrong. I also agree that "xcopy installation" is far less error prone than anything else. But the former is a completely different point and the latter, well, customer is king, isn't he?

All I want is that my application setup installs .NET framework 2.0 if necessary. And then I want it to install the application.

I do not want it to install the .NET framework 2.0 German language pack. But it does. How can I prevent setup from doing so?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900