民俗文化对客户的具体措辞? [英] Custom Culture for client specific verbiage?

查看:104
本文介绍了民俗文化对客户的具体措辞?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

寻找到与一个asp.net网站客户特定术语,将多个客户端一起使用,实现国产化的最佳途径一些建议。

Looking for some advice on the best way to implement localization along with client specific jargon on a asp.net site that will be used by multiple clients.

例如表单上的标签必须依赖于登录到该网站的客户端是什么,以及有语言preference是有所不同。

For example the labels on a form must vary depending on what client is logged into the site as well as what there language preference is.

于是就有了为每个客户端的一组默认空话/行话......然后每个客户空话/行话将被翻译成他们所需要的语言。

So there will be a default set of verbiage/jargon for each client... and then each clients verbiage/jargon will be translated into languages they require.

我在想创建定制文化为每个客户端,然后使用asp.net和资源文件的内置的本土化特色。

I was thinking about created a custom culture for each client and then using the "built-in" localization features in asp.net and resource files.

所以,我可能有一个默认的文化......然后客户特定的文化......然后客户特定的文化翻译成其他语言。

So I might have a default culture... and then client specific cultures... and then client specific cultures translated to other languages.

的en-US

取消DE

EN-US-客户端1

en-US-client1

EN-US-客户端2

en-US-client2

去-DE-客户端1

去-DE-客户端2

这听起来疯了吗?似乎是一个比较健全的做法给我...而且也许有点一个黑客攻击的...所以我欢迎任何更好的想法?

Does this sound crazy? seems like a fairly sound approach to me... but also maybe a bit of a hack... so I welcome any better ideas?

谢谢大家的帮助!

推荐答案

其实它不是,它是一种常见的做法 - 我见过好几次电子商务卖场里的中央存储是一个通用的白色标签。

Actually it's not, it's a common approach - I've seen it quite a few times for e-commerce stores where the central store is a generic white label.

这是不错的,因为ASP.NET支持本地化出来的锡,而不是你有推出自己的文字设定在每一个该死的要求,从修剪视图状态,缓存管理等。

It's nice because ASP.NET supports localization out of the tin rather than you having to roll your own setting of text in every darned request, trimming viewstate from that, managing caching etc.

不要忘了文化的具体信息并不一定要在一个资源文件,它可以来自数据库太

And don't forget culture specific information doesn't have to be in a resource file, it can come from a database too.

这篇关于民俗文化对客户的具体措辞?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆