开发者

Resx tools for asp site

开发者 https://www.devze.com 2022-12-12 07:46 出处:网络
i am coding a pretty large intranet based web system that needs to support multi language. i have in excess of 150 pages, each of which will have an associated resx file. developing in vs2008

i am coding a pretty large intranet based web system that needs to support multi language. i have in excess of 150 pages, each of which will have an associated resx file. developing in vs2008

at the moment the hurdles i'm facing.

  1. the sheer volume. opening each page, going to design view and clicking generate local resource is a nightmare but one that is being coped with.

  2. creating a file for each of the languages i'm supporting means creating a copy of the default resx file and renaming it for each language (file name) and then opening each file and upating each key individually in vs2008.

  3. for datagrids, vs doesn't pick up headertext attribute for boundcolumns. at the moment i am 开发者_JS百科adding these manually to the resx file after generating. the bigger issue with this is that if for whatever reason i need to regenerate the resx for this page, vs eats up the manually added keys (for the headertexts) and i need to add them again manually.

my question is twofold:

  1. are there any tools (preferably free) to assist with any or all of the above issues.

  2. are there any tricks of the trade in vs2008 to ease the pain of all this.


Resource Refactoring Tool
alt text http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=ResourceRefactoring&DownloadId=3748

Microsoft "open source" Visual Studio tool that integrates with the IDE. You can easily replace every occurrence of a string with a resource reference with a few clicks.
http://www.codeplex.com/ResourceRefactoring

Zeta Resource Editor
alt text http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=ZetaResourceEditor&DownloadId=40997

A side by side editor for multiple resource file.
http://www.codeplex.com/ZetaResourceEditor/


You can have a look at the WestWindWebToolkit which contains a tool to manage resources and the resources are stored in the database instead of resx files which might be a maintanance plus for you.

0

精彩评论

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

关注公众号