国际化:为每个客户定制本地化 resx 文件?
问题:
这是这些帖子的后续问题:
国际化性能:resx 与数据库?
resx 文件适合国际化吗?
如果我使用 resx 文件进行国际化(本地化),在这种情况下:
- 所有应用程序(一个源、一个项目、一个可执行文件) 客户
- 许多客户
- 每个客户有多种语言
- 可以为每个客户的每种语言定制标签
- 应用程序会不时被新版本替换
是否可以使用 resx 文件来维护字段标签的定制? 我的意思是,对于一位客户和一种语言来说,这当然是可能的。
但是对于使用 N 种语言的 N 个客户...
我是否需要为 N 个客户创建 N 个 resx 文件,并且我在一个文件中添加的每个字符串都必须添加到每个 resx 文件中? 另外,我还必须收回 resx 文件(因为定制是在客户处进行的)。
resx 文件真的适合这个吗?
对我来说,这听起来好像不是(根本不是),但在这两篇文章中,人们似乎认为它是最好的解决方案。
这对我来说似乎很可疑。
在我看来,resx 文件似乎无法提供所需的灵活性和可维护性,而且在我看来,在数据库驱动的 i18n 下,这将相对容易实现。
使用 resx 文件的人是否有这种情况的实际经验,或者使用和维护过他们自己的产品?
Question:
This is a followup-question to these posts:
i18n performance: resx vs. database?
Are resx files suitable for Internationalization?
If I would use resx files for internationalization (localization), under this scenario:
- ONE application (one source, one project, one executable) for all
customers - many customers
- multiple languages per customer
- customization of labels possible per language per customer
- application gets replaced from time to time with new version
Is it possible with resx files to maintain customization of field labels ?
I mean for one customer and one language, it would certainly be possible.
But for N customers with N languages...
Wouldn't I be required to create N resx files for N customers and every string I add in one file, I must add to every resx files ?
Also I would have to take back resx files (as customization happens at the customer).
Is a resx file really suitable for this ?
To me it sounds like it is not (not at all), but on these two posts, people seem to perceive it as the best solution.
This appears doubtful to me.
To me it appears as if resx files just can't deliver the flexibility and maintainability required, and it also appears to me, that under a database-driven i18n, this would be comparatively easily implemented.
Does anybody who works with resx files have actual experience with this kind of scenario, or used and maintained their own product ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在这种情况下,我将使用
XML
文件,用户可以轻松地直接自定义这些文件或从应用程序中的表单进行自定义。In this case I would use
XML
files which the user can easily directly customize or from a form in the application.