언어 설정

Menu
Sites
Language
I18N other than translation

I see that we can use globalize.js for translation, as well as date and number formatting. Is there something more extensive? Globalize seems pretty limited. So far, the dates in globalize.js only support the Gregorian calendar. What about the Hebrew, Arabic, Thai Solar, or Persian calendars which are the official calendars in some countries? Also, time zones and conversions are not really supported well. How about help handling unicode strings in UTF-16? String normalization? Collation and alphabetic indexes? Phone numbers? Addresses? Units (metric/US)? Transliteration? Charset conversion/detection? ie. what about all that other stuff that ICU provides? Any solution for that in JS?

Thanks,

Ed

Responses

2 댓글
AVSukhov

Hello,

You can use any third-party library for localization and internationalization.

AVSukhov
Various libraries and plugins for localisation:

Intl.js - a compatibility implementation of the Internationalisation API
i18next for i18n (incl. jquery plugin, translation ui,...)
moment.js for dates
numeral.js for numbers and currency
l10n.js
jQuery Globalization (plugin)
jQuery Localisation (plugin)
YUI Internationalization support
L10ns tool for i18n workflow and complex string formatting
jquery.i18Now for dates
browser-i18n with support to pluralization
counterpart is inspired by Ruby's famous I18n gem
requirejs-i18n Define an I18N Bundle with RequireJS.