开发者

Localization of Workflow Activity qualified names

We use tracking and persistence services of wf, and display current state of workflow on the asp.net page.

Now in the process of localization of our application, we are able to localize all elements on the page except the activity names of workflow. These activity names are given while creating a workflow in VS 2008.

How do i achieve i开发者_C百科t, any pointers?

Thanks.


The problem here is that Activity names are akin to variable names and property names. These are identifiers which are not normally for user consumption but are used by code in order to find things. Hence localizing an activity name would be bit like localizing a variable name.

Perhaps there is a way to use the description property of the Activities instead which is designed purely for a humans use (although not necessarily for a users use). The would require that all the descriptiongs get assigned localised strings during workflow initialisation which might be a bit tricky. Specifically there would be a need to hold the resource IDs somewhere. Hmm...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜