我如何...用全球化生成excel xml [英] How do I...generate excel xml with globalisation

查看:60
本文介绍了我如何...用全球化生成excel xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





目前正在生成一个英文的Excel xml报告。我的要求是将全球化应用于报告,即基于国家,报告应以相应的语言生成。

如何实现Excel xml的资源文件概念。



环境:Dot Net Framework 4.0 C#



提前致谢。

Hi

Currently am generating a Excel xml report in English . My requirement is to apply globalisation to the report i.e by based on Country the report should be generated in coressponding language .
How to implement the resource file concept for Excel xml .

Environment : Dot Net Framework 4.0 C#

Thanks in advance.

推荐答案

除非你提供翻译功能,否则无法用用户的语言生成Excel文件。



看看这里: Excel.International属性 [ ^ ]。它返回有关当前国家/地区和国际设置的信息,例如:关于括号和括号,货币,日期和时间格式(等),但不启用翻译。
It's not possible to generate Excel file in user's language, unless you'll provide translation functionality.

Have a look here: Excel.International property[^]. It returns information about the current country/region and international settings, for example: about Brackets and Brace, Currency, Date and Time format (etc.), but does not enable translation.


这篇关于我如何...用全球化生成excel xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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