JDateChooser显示语言 [英] JDateChooser display language
问题描述
我正在使用JCalendar
的1.4 JDateChooser
,所以我问是否可以在几个月和几天的时间内更改显示名称而不必更改源代码,或者,因为我从没有看过源代码,即使可以更改也很难更改.谢谢.
I'am using JCalendar
's 1.4 JDateChooser
so I ask if it is possible to change display names for months and days of weeks without having to change the source code, or, since I never looked the source code, is it complicated to change it even if it can be changed. Thanks.
推荐答案
JCalendar
正确响应支持的语言环境.例如,在命令行上指定以下所示的语言环境:
JCalendar
responds correctly to supported locales. For example, the locale illustrated below is specified on the command line:
java -Duser.language=fr -Duser.country=FR -cp build/classes DateDemo
在源代码中可以找到其他本地化的文本属性:
Additional localized text properties are found in the source code:
src/com/toedter/calendar/jcalendar_*
对于不受支持的语言环境,请考虑 ICU4J语言环境服务提供商 .
For unsupported locales, consider ICU4J Locale Service Provider.
这篇关于JDateChooser显示语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!