Thanks.
"Garrett McGowan[MSFT]" <GarrMc@online.microsoft.com> wrote in message
news:Te6Hqtf%23FHA.1236@TK2MSFTNGXA02.phx.gbl...
> Hi Krishnan. If I understand your question correctly, you want to localize
> the Text value for menu items in your WinForms application.
>
> The easiest way to do this is to simply mark the Localizable property for
> the form as True, change the target language in the Language property, and
> then edit the menu items on the form. When you load the resulting RESX
> file
> in the resource editor, it should show each menu name as you describe
> below
> (e.g., fileToolStripMenuItem.Text | &File). This is how it works for
> Visual
> Studio 2005, though the mechanics are the same for Visual Studio .NET
> 2003.
>
> Cheers,
> Garrett McGowan [MSFT Developer International]
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Use of included script samples are subject to the terms specified at
>
http://www.microsoft.com/info/cpyright.htm > --------------------
>>From: "Krishnan" <krishnan.ramaswami@newsgroups.nospam>
>>Subject: Localizing Menu Items - Help
>>Date: Mon, 28 Nov 2005 18:13:43 +0530
>>Newsgroups: microsoft.public.dotnet.internationalization
>>
>>Hi,
>>
>>The norm in .Net seems to be keying the name of the control in the
> resource
>>file for a value in the particular language. For e.g., if cmdOpen is a
>>commad button, then:
>>
>>MyResource.en-us.resx will contain:
>>key value
>>---- -------
>>cmdOpen.Text Open
>>
>>and, MyResource.fr-FR.resx will contain:
>>key value
>>---- ------
>>cmdOpen.Text Ouvrez
>>
>>However, this depends on accessing the "Name" property of the control at
>>runtime. Menus do not expose the name property. What is the thumb rule to
>>localize menus in dot net?
>>
>>TIA
>>Krishnan
>>
>>
>>
>