Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Directory.CreateDirectory() exception is in English with Spanish M

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Allan Michaels - 12 Jul 2007 19:04 GMT
Hello,

I am running Windows XP (English version).
I have installed the Spanish MUI pack on it.
I have set the Region and Language Options control panel to display the
Operating System in the Spanish language.
(The OS does appear in Spanish.)

I am using VS2005 and call:

Directory.CreateDirectory(m_strFileName);

where m_strFileName equals a directory path that does not exist, for example,
"C:\\DirDoesntExist\\DirToCreate".

When "DirDoesn'tExist" does not exist, I get an exception 'Could not find
part of path' (or some such wording...I did not copy it down verbatim).

The exception is understandable.  But why isn't it in Spanish???

Are all Microsoft exceptions thrown on XP (English) in English regardless of
the MUI installed and UI language requested???

Thank you in advance for your assistance.

Signature

Allan Michaels
Ann Arbor, MI

Alex Meleta - 12 Jul 2007 19:23 GMT
Hi Allan,

Have you installed the language pack for .NET Framework?
http://www.microsoft.com/downloads/details.aspx?FamilyId=39C8B63B-F64B-4B68-A774
-B64ED0C32AE7&displaylang=en


Regards, Alex Meleta
[TechBlog] http://devkids.blogspot.com

> Hello,
>
[quoted text clipped - 21 lines]
>
> Thank you in advance for your assistance.
Walter Wang [MSFT] - 13 Jul 2007 06:56 GMT
Hi Allan,

I agree with Alex here, the MUI package you installed is just for Windows.
For .NET framework, you need to install separate language pack which
contains translated text, such as error messages, for languages other than
English.

The URL posted by Alex is for .NET 2.0, here's the URL for .NET 1.1:

http://www.microsoft.com/downloads/details.aspx?FamilyID=04dbaf2e-61ed-43f4-
8d2a-ccb2bab7b8eb&displaylang=en

Please test this and let us know the result. Thanks.

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Allan Michaels - 13 Jul 2007 21:28 GMT
Thank you Alex, thank you Walter.

I haven't tried it yet, but I will.  Then I'll post back if it worked.
It'll take me a little bit of time.

Thanks again.

Signature

Allan Michaels
Ann Arbor, MI

> Hi Allan,
>
[quoted text clipped - 20 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Allan Michaels - 18 Jul 2007 19:54 GMT
Hello Alex, Hello Walter,

I have yet to try that link, but I did just go to download from

http://www.microsoft.com/downloads/details.aspx?FamilyId=39C8B63B-F64B-4B68-A774
-B64ED0C32AE7&displaylang=en


(The NET 2.0 version).

FYI:  The Quick Details section of that webpage says 'readme.htm' and when I
click download, I get a second browser windows that says something like "No
English file exists".
I select another display language (Spanish) and clicked the change button.  
Then the whole page appeared in Spanish.  The Quick Details section said
"langpack.exe" and when I clicked download, I succeeded at downloading a
langpack.exe file.
Looks like some bug on the website.

I'll try the langpack soon.

Signature

Allan Michaels
Ann Arbor, MI

> Thank you Alex, thank you Walter.
>
[quoted text clipped - 27 lines]
> >
> > This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 20 Jul 2007 02:24 GMT
Hi Allan,

Thank you for your update.

I've tested the web page as you described, I think the reason why it
reports "there is no language pack for the English version..." is because
the download page is used for general purpose, and in this case, there's no
language pack for English version since the .NET framework has built-in
language pack support for English version.

Anyway, thank you for your feedback. Please let us know if the spanish
language pack works for you or not.

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 24 Jul 2007 04:01 GMT
Hi Allan,

I'm writing to check the status of this post. Please feel free to let me
know if there's anything else I can help. Thanks.

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Allan Michaels - 26 Jul 2007 14:48 GMT
Thanks Walter.
I have just returned to the office and will try the language pack soon.

As for your analysis of the page behavior, I thought that the choice of
language
and the associated "Change" button would change the language that the page
is displayed in, not change the file that would be downloaded.

More than just an inconvenence, the bevavior is wrong.  For example, I know
English and I do not know Russian.  To get the russian language pack, I
select Russian from the dropdown list.  The entire page now changes to
Russian.  Luckily, I do recognize the "Download" button, press it and
download the file.
Now I want to switch back to english (or download another language).  I
display the dropdown list and since I don't know Russian, I Cannot Read Any
Choice in the List.

I doubt that is the behavior desired for the page.

Oh, well...enough of that.  I will respond when I test the language pack.

Signature

Allan Michaels
Ann Arbor, MI

> Hi Allan,
>
[quoted text clipped - 11 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Allan Michaels - 26 Jul 2007 17:46 GMT
Hello again,

I just noticed that the Overview section of the page states:

"Note: To download a specific language pack, select the target language from
the change language drop-down."

So the page does document its own behavior.

No reply to this post is necessary.  Thank you.

Signature

Allan Michaels
Ann Arbor, MI

Allan Michaels - 30 Jul 2007 15:38 GMT
Hello Walter.

Sorry for the delay.  The .NET20 spanish language pack did successfully
solve my problem.  Thanks!!!

Signature

Allan Michaels
Ann Arbor, MI

> Hi Allan,
>
[quoted text clipped - 11 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 31 Jul 2007 04:46 GMT
Hi Allan,

Thanks for the confirmation.

Have a nice day!

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.