首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > java国际化(i18n)图书馆

java国际化(i18n)图书馆

资 源 简 介

The Gettext Commons project provides Java classes for internationalization (i18n) through GNU gettext. The lightweight library combines the power of the unix-style gettext tools with the widely used Java ResourceBundles. This makes it possible to use the original text instead of arbitrary property keys, which is less cumbersome and makes programs easier to read. And there are a lot more advantages of using gettext: Easy extraction of user visible strings Strings are marked as fuzzy when the original text changes so translators can check if the translations still match Powerful plural handling Build process integration through Maven or Ant Here is an example that demonstrates how easy it is to use the Gettext Commons: I18n i18n = I18nFactory.getI18n(getClass());System.out.println(i18n.tr("This text will be translated")); Have a look at the tutorial to see h
VIP VIP
0.210768s