Hello,
I want to support multi-language in my C# program.
What can I do???
How can I change the locale in the menu, then the language will use the
specific country resources ?
How can I compile those different resources properties into DLL, and the C#
program can dynamically load it when change the locale?
I tried to use SharpDevelop as the IDE, when I change the language, it will
create a new resource files automatically.
But how can I tell my C# program which one I should use ???
Eric
--
==========================
If you know what you are doing,
it is not called RESEARCH!
========================== 4 1524
Eric,
The locale can be changed run time by setting
System.Threading.Thread.CurrentUICulture (AFAIR) to a new culture. This,
however does not reflect on created form instances as resources are loaded
at creation time. You will need to reload resources to reflect locale change
at run time.
Best regards,
Benny Tordrup
"Eric Chow" <ec***@macaucabletv.com> skrev i en meddelelse
news:Oz**************@tk2msftngp13.phx.gbl... Hello,
I want to support multi-language in my C# program.
What can I do??? How can I change the locale in the menu, then the language will use the specific country resources ? How can I compile those different resources properties into DLL, and the
C# program can dynamically load it when change the locale?
I tried to use SharpDevelop as the IDE, when I change the language, it
will create a new resource files automatically. But how can I tell my C# program which one I should use ???
Eric
-- ========================== If you know what you are doing, it is not called RESEARCH! ==========================
Hi Benny,
Thanks for you reply.
Another question, How can I display some Asian characters(Chinese, Japanese,
Korean, etc) in English environment?
As I know we can use unicode(utf-8). How can I implement this in C# with
resources ????
Eric
"Benny Tordrup" <nospam dot bt at fk-data dot dk> wrote in message
news:e1*************@tk2msftngp13.phx.gbl... Eric,
The locale can be changed run time by setting System.Threading.Thread.CurrentUICulture (AFAIR) to a new culture. This, however does not reflect on created form instances as resources are loaded at creation time. You will need to reload resources to reflect locale
change at run time.
Best regards,
Benny Tordrup
"Eric Chow" <ec***@macaucabletv.com> skrev i en meddelelse news:Oz**************@tk2msftngp13.phx.gbl... Hello,
I want to support multi-language in my C# program.
What can I do??? How can I change the locale in the menu, then the language will use the specific country resources ? How can I compile those different resources properties into DLL, and the C# program can dynamically load it when change the locale?
I tried to use SharpDevelop as the IDE, when I change the language, it will create a new resource files automatically. But how can I tell my C# program which one I should use ???
Eric
-- ========================== If you know what you are doing, it is not called RESEARCH! ==========================
Just make sure you have the asian fonts installed. You can do this In
the "Regional and Languages Options" control panel. On the Languages tab
click the "Install files for Asian Languages" button. This will load in
the asian font. This should then allow you to use the Asian locales.
Hope this helps.
Leon Lambert
Eric Chow wrote: Hi Benny,
Thanks for you reply. Another question, How can I display some Asian characters(Chinese, Japanese, Korean, etc) in English environment?
As I know we can use unicode(utf-8). How can I implement this in C# with resources ????
Eric "Benny Tordrup" <nospam dot bt at fk-data dot dk> wrote in message news:e1*************@tk2msftngp13.phx.gbl...
Eric,
The locale can be changed run time by setting System.Threading.Thread.CurrentUICulture (AFAIR) to a new culture. This, however does not reflect on created form instances as resources are loaded at creation time. You will need to reload resources to reflect locale
change
at run time.
Best regards,
Benny Tordrup
"Eric Chow" <ec***@macaucabletv.com> skrev i en meddelelse news:Oz**************@tk2msftngp13.phx.gbl...
Hello,
I want to support multi-language in my C# program.
What can I do??? How can I change the locale in the menu, then the language will use the specific country resources ? How can I compile those different resources properties into DLL, and the
C#
program can dynamically load it when change the locale?
I tried to use SharpDevelop as the IDE, when I change the language, it
will
create a new resource files automatically. But how can I tell my C# program which one I should use ???
Eric
-- ========================== If you know what you are doing, it is not called RESEARCH! ==========================
I've just completed and uploaded a localized Vietnamese Unicode editor. You may want to check it out to see how localization is done. Hope it helps http://vietpad.sf.net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Aditya Ivaturi |
last post by:
We have a CMS which is written is based on php & mysql. Recently we received
a request to support multiple languages so that sites in that particular
laguage can be created. I did some search on...
|
by: Chris Hope |
last post by:
I don't normally do PHP development work on Windows but I need to port
an image creation tool to Windows. So I have loaded the php_gd2.dll
module for image creation support but it doesn't include...
|
by: Bill Davidson |
last post by:
Hi there,
Please forgive me for posting this article on multiple groups.
Being new in the newsgroups, I was not sure which group would
have been appropriate for my question. Sorry.
My...
|
by: Naresh |
last post by:
I have been having a problem and I don't know where to go for help. The microsoft support is only for a fees. Can anyone at all please at least point to a site or some place where I can hope for some...
|
by: code_wrong |
last post by:
Hi, as the subject says
How many browsers must we support?
How many are there exactly?
When I run this JavaScript in Firefox and IE6:
function init(){
if(document.getElementById)
alert("W3C...
|
by: shaun.mostashari |
last post by:
Hello all, I am working on a trade study and one of the criterias is
how easy it is to get DB2 technical support from IBM. I appreciate if
you guys share your experience with me. Does DB2 have a...
|
by: NormaJean Sebastian via DBMonster.com |
last post by:
Hi,
I almost read all of the "DB2 vs Oracle" thread...
The summary I got from that was all databases essentially do the same
things, the decision of which one you use primarily depends on...
|
by: Juan T. Llibre |
last post by:
ASP.NET 1.0 Support Home
http://support.microsoft.com/ph/6350
ASP.NET 1.1 Support Home
http://support.microsoft.com/ph/6351
..Net Framework 1.1 Support Site...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |