多年前,我建立了一个简单的系统来处理ASP.classic网站中文本的语言版本控制。从那以后,我就没有转换或维护它,一直在使用各种次优解决方案(让我们面对现实吧,这个系统可能没有我记忆中的那么好;-)
您的网站和应用程序的语言版本文本使用什么?
我看了以下内容:
- .NET resource files: No easy way to get external translators to use it. Plus it is to mingled into the .NET controls (and also - "I just don t like it" :o)
- ResourceBlender (www.resourceblender.com): An excellent solution, but it seems build for some other uses than I have in mind ("bundles" and "elements" in the way they are constructed have no meaning to me).
我的功能愿望清单包括:
- Translation: Being able to export the texts to some format that external translators can edit, and then re-import the data when it comes back from translation.
- Data source: MS SQL Server, SQL Lite or XML (or some other reasonable array of options, covering both RDBMS and simple file storage)
- Interface: Full fledged interface for searching, editing etc.
- Integration in app/site: Very simple way of actually fetching the texts in the target application, or a way of easily implementing it yourself (KISS)
- Source code readability: The code should remain readable. So text names are preferred to integer IDs. E.g. GetText("intro_headline") instead of GetText(4564)
- Must not be tied to .NET controls as the resx files, since I also need to use them for e.g. subject and body texts for emails.
我似乎找不到任何与之匹配的东西,所以我正在考虑自己建造它,但我只想确保我没有错过什么。
(这是专家交流的交叉帖子,我在那里没有找到解决方案)