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 / Internationalization / December 2006

Tip: Looking for answers? Try searching our database.

How to display other languages in Visual Studio 2003 IDE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
larry - 21 Dec 2006 15:13 GMT
I'm translating an application from Chinese to English. When I opened
source code, I found all Chinese string were not displayed correct. It
seems there is no encoding for Chinese. I went to
Tools-Options-Environment-International Settings, but there is not
option to add new language. Please help me.

Larry

Larry

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Aldo Donetti [MS] - 28 Dec 2006 01:24 GMT
Hi Larry, I think I need more information to tell you what's the problem.
What is the encoding of the source code files? Do you have installed the
support for East Asian languages on your machine?
If I had to guess, I'd say the source files were saved as ANSI and your
codepage is different from the one used by the developers of the
application. If this is the case, you can open a file with a different
encoding by selecting menu File, then Open, and you will notice that the
"Open" button in the Open dialog has a dropdown - click it and select "Open
with". Then select the option "<VB/CS> Editor with Encoding", then the
encoding that was used to save the source files (could be 936 or 950?).

Let me know how it goes
Aldo

FYI - the "International Settings" you mention below are only used to
select a different language for the VS Environment (menus, dialogs, etc),
if you have installed multiple languages of VS on the same machine. Nothing
to do with the localization of your application anyway

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

--------------------
| From:     larry <laurence.chang@rogers.com>
| Subject: How to display other languages in Visual Studio 2003 IDE
[quoted text clipped - 12 lines]
| Sent via .NET Newsgroups
| http://www.dotnetnewsgroups.com
larry - 28 Dec 2006 14:11 GMT
Hello Aldo,
Thank you very much for your help. I really appreciate it. I can display
Chinese string by using Open With Encoding.

Larry

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Mihai N. - 28 Dec 2006 05:20 GMT
> I'm translating an application from Chinese to English. When I opened
> source code, I found all Chinese string were not displayed correct. It
> seems there is no encoding for Chinese. I went to
> Tools-Options-Environment-International Settings, but there is not
> option to add new language. Please help me.

I hope you are talking about Chinese strings in resources, not in sources.
Translating strings hard-coded in cpp files is definitely something you
should never do.

Anyway, resources or sources, if the files are not Unicode (and is very
likely they are not), then you need to have the default system locales set to
Chinese (first you will have to find out if it is Chinese Traditional or
Simplified).
See here how to set the system locale (will ask for a reboot, and you will
have to do it):
http://www.mihai-nita.net/20050611a.shtml

Signature

Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email

larry - 28 Dec 2006 14:35 GMT
Hello Mihai,

I set my default system locales to Chinese and I can see Chinese strings
in my Visual Studio IDE. I also visited your website and that really
helped me. Thank you very much for your help.

Larry

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

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.