Localization problem

A

AY Xu

I want to localize forms, strings and messages. i have no problem with
form localization, simply set localizable = true, language = Chinese,
then i can change form label into local language. it works fine. the
problem is how to localize strings and messages. i've searched MSDN
and also this group, but can't get a solution.

say i have 3 forms, 1 strings and 1 messages resource file. the
neutral language is en-US, local language is zh-CHS. so i have:
form1.resx, form2.resx, form3.resx
form1.zh-CHS.resx, form2.zh-CHS.resx, form3.zh-CHS.resx
(above resources were create by vs2005.)
strings.resx, messages.resx
strings.zh-CHS.resx, messages.zh-CHS.resx
(above resources were create manually)

i read from MSDN, that i can use resgen.exe and al.exe to create
Satellite Assemblies (DLL) for local language. But there's only one
Satellite Assemblies for each language (am i right?), vs2005 will
compile form resources automatically when start appliction (press F5
from VS2005 ide), i can find the Satellite Assemblies under sub-folder
zh-CHS. how can i compile strings and messages resource and output to
the same Satellite Assemblies? is it possible? or i'm totally in wrong
track?

i've been working three days on this but can't figure it out. pls help
and thanks in advance!
 
A

AY Xu

I want to localize forms, strings and messages. i have no problem with
form localization, simply set localizable = true, language = Chinese,
then i can change form label into local language. it works fine. the
problem is how to localize strings and messages. i've searched MSDN
and also this group, but can't get a solution.

say i have 3 forms, 1 strings and 1 messages resource file. the
neutral language is en-US, local language is zh-CHS. so i have:
form1.resx, form2.resx, form3.resx
form1.zh-CHS.resx, form2.zh-CHS.resx, form3.zh-CHS.resx
(above resources were create by vs2005.)
strings.resx, messages.resx
strings.zh-CHS.resx, messages.zh-CHS.resx
(above resources were create manually)

i read from MSDN, that i can use resgen.exe and al.exe to create
Satellite Assemblies (DLL) for local language. But there's only one
Satellite Assemblies for each language (am i right?), vs2005 will
compile form resources automatically when start appliction (press F5
from VS2005 ide), i can find the Satellite Assemblies under sub-folder
zh-CHS. how can i compile strings and messages resource and output to
the same Satellite Assemblies? is it possible? or i'm totally in wrong
track?

i've been working three days on this but can't figure it out. pls help
and thanks in advance!

I've figured it out. refer
http://groups.google.com/group/micr...lture+or+the+neutral+culture#cb269019d163006b
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top