在运行时翻译标签,列名,屏幕名 [英] At runtime translation of labels, columnnames, screennames

查看:58
本文介绍了在运行时翻译标签,列名,屏幕名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

推荐答案

Is it possible to change the display names of the properties of entities at runtime? (There is a possibility to add a display name in de LS editor, but can this be set at runtime also??)

是的,您可以更改DisplayName @运行时.从您的打印屏幕上:.FindControl( 订单" 数据" ;

Yes you can change the DisplayName @ runtime. From your printscreen: this.FindControl("OrderDate").DisplayName = "Order datum";

是否可以在LS应用程序左上方的保存"和刷新"按钮上更改标签 运行时?

Is it possible to change the labels of the 'Save' and 'Refresh' buttons on the top left of the LS application at runtime?

我不确定,因为显示名称取决于文化...也许您可以使用FindControl更改它,但没有 测试一下.但是,如果您更改文化,您的问题就可以解决.

I'm not sure because there displayname depends on the Culture... Maybe you can change it with FindControl but have not test it. But if you change the Culture your problem is solved.

 

是否有可能在运行时设置更改应用程序区域性的方法?我尝试过改变文化 Application_Initialize()方法,但没有成功.

Are there any possibilities to set change the culture of the application at runtime? I've tried changing the culture in the Application_Initialize() method, but without success.

不,你不能.它将使用正在运行的PC的文化.

 

总的来说,在不久的将来有计划解决LS中的本地化问题吗?

也许可以在运行时进行设置

Maybe there will be a possibility of setting it @ runtime




这篇关于在运行时翻译标签,列名,屏幕名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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