Culture Problem

May 22, 2009 at 11:26 PM

The latest version uses the Chinese Culture, which makes the application not work for english users.

Is it possible to deliver an english version, like the earlier ones until Silverlight 3 ships with the fix for this problem?

Coordinator
May 23, 2009 at 7:52 AM

hi,Dewey

 i do not  find the problem.i do not think i understand you.can you show me some detail information like error pictures,or download version 1.3.3 to try it.

thanks

May 24, 2009 at 3:26 AM

Here is the AppManifest of version 1.3.3(it changed from 1.1 and continues).

<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="ShareDesigner" EntryPointType="design.App" RuntimeVersion="2.0.31005.0">
  <Deployment.Parts>
    <AssemblyPart x:Name="ShareDesigner" Source="ShareDesigner.dll" />
    <AssemblyPart x:Name="System.Xml.Linq" Source="System.Xml.Linq.dll" />
    <AssemblyPart Source="en-us/ShareDesigner.resources.dll" />
    <AssemblyPart Source="zh-cn/ShareDesigner.resources.dll" />
  </Deployment.Parts>
</Deployment>

Here is the AppManifest from version 1.0

<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="ShareDesigner" EntryPointType="design.App" RuntimeVersion="2.0.31005.0">
  <Deployment.Parts>
    <AssemblyPart x:Name="ShareDesigner" Source="ShareDesigner.dll" />
    <AssemblyPart x:Name="System.Xml.Linq" Source="System.Xml.Linq.dll" />
  </Deployment.Parts>
</Deployment>

Notice it doesn't specify a culture.  A bug in Silverlight 2 makes it look for all cultures specified, but my system will not find the Chinese culture, and the program fails to work.

What I was requesting is for you to ship the application just like in version 1.0, or tell me how to get rid of the problem.

By the way, this problem is fixed in Silverlight 3.

Thanks!

Coordinator
May 24, 2009 at 5:31 AM
Edited Jun 2, 2009 at 5:53 AM

hi,Dewey

thanks for your answer.

In accordance with the following steps to  try to fix it .

1、delete Resources/Text.zh-cn.resx  from vs.net solution explorer.

2、clear Text.resx   and copy the content of Text.en-us.resx to Text.resx.

3、modify Shareidea.Web.Component.Workflow.Configure.CurrentCulture  function in Component/Utility.cs file looks like :

...

if (currentCulture == null)
                {
                    currentCulture =new System.Globalization.CultureInfo("en-us");

                }

....

i will update it to silverlight version 3 as soon as.

thanks

 

May 25, 2009 at 8:56 AM

Chegan,

Thanks for the quick reply.  It works perfectly.

No need to rush on the Silverlight 3 version, it isn't shipping any time soon.

Thanks again for the help, and your contribution to the community.