4 个仓库
Implementations that leverage the native browser Internationalization API for locale-aware formatting and naming.
Distinct from Localized API Responses: The candidates focus on API response translation or local servers, not the use of the Intl browser API for date localization.
Explore 4 awesome GitHub repositories matching web development · Internationalization API Integrations. Refine with filters or upvote what's useful.
next-intl is an internationalization framework for Next.js applications. It provides a system for managing translations, localized routing, and ICU message formatting to deliver multilingual content across server and client components. The project distinguishes itself through a focus on developer experience and type safety, utilizing a TypeScript translation validator that generates declaration files from JSON messages for compile-time key validation. It streamlines translation workflows with tools for automatically extracting strings from source code into message files and synchronizing thos
Wraps native JavaScript Internationalization APIs to ensure consistent date, number, and list formatting across runtimes.
该项目提供了一个 Web 组件时间元素,扩展了标准的 HTML time 标签,以显示人类可读的相对时间戳和倒计时。它作为一个相对时间格式化器和时间持续时间计算器,将时间戳转换为在浏览器中自动更新的本地化字符串。 该工具支持动态时间戳显示,可根据可配置的时间阈值从相对短语过渡到绝对日期。它包含日期时态限制功能,强制时间戳仅显示为过去或未来日期,并支持跨年、月、日、小时、分钟和秒的精确持续时间格式化。 该实现利用原生浏览器国际化 API 进行日期渲染,并支持特定 IANA 时区的本地化。它通过 DOM 属性管理状态,并利用间隔轮询确保时间显示保持最新,而无需刷新页面。
Leverages the native browser Internationalization API for locale-aware date and relative time formatting.
react-calendar is a customizable date grid and picker for React applications. It provides an interactive interface for selecting single or multiple dates and navigating between months and years. The component uses browser internationalization APIs to format months and days, enabling multilingual date formatting for different global regions. It allows for external customization through prop-driven render overrides to replace default date cell displays. The library handles the underlying date calculations and state-driven navigation required for scheduling interfaces and date-based grids.
Leverages the native browser Internationalization API for locale-aware date formatting.
Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and
Utilizes the browser native Internationalization API for region-specific date formatting and locale-aware name generation.