awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
formatjs avatar

formatjs/formatjs

0
View on GitHub↗
14,723 星标·1,383 分支·TypeScript·3 次浏览formatjs.github.io↗

Formatjs

FormatJS is an internationalization framework and library designed for building web applications that support multiple languages and regional formats. It provides a comprehensive suite of tools for managing the translation workflow, including the extraction of translatable strings from source code and the compilation of human-readable templates into optimized JavaScript functions.

The project distinguishes itself by implementing the ICU MessageFormat standard, which enables the handling of complex linguistic requirements such as pluralization and gender-based text variations. By utilizing a build-time utility to transform translation files into machine-ready formats, it ensures that localized content is loaded and displayed efficiently within the application rendering lifecycle.

Beyond core translation management, the library facilitates the formatting of dates, numbers, and currencies by leveraging standardized internationalization APIs. This allows developers to present data in accordance with specific cultural and regional expectations, maintaining consistent messaging across diverse locales.

The project provides a command-line interface to automate the extraction and compilation of translation messages during the build process. It is designed to operate with minimal external dependencies, ensuring compatibility across various browser and server-side JavaScript environments.

Features

  • Internationalization Frameworks - Acts as a core internationalization framework for managing translation files and locale-specific data formatting.
  • Web Application Frameworks - Provides a comprehensive framework for building web applications that support multiple languages and regional formats.
  • Message Format Libraries - Implements ICU MessageFormat standards to handle complex linguistic requirements like pluralization and gender variations.
  • Translation Management - Streamlines the extraction, translation, and injection of localized strings into web application interfaces.
  • Translation Tools - Provides build-time utilities to transform translation files into optimized formats for localized environments.
  • Internationalized Date Formatting - Provides locale-aware formatting for dates, numbers, and currencies using standardized internationalization APIs.
  • Internationalization - Comprehensive suite for internationalizing web apps.
  • Pluralization Rules - Implements pluralization rules to select correct grammatical forms based on numeric values and locale-specific data.
  • Internationalized Content Renderers - Formats dates, numbers, and strings into locale-specific representations to match regional user expectations.
  • Date and Time Formatting - Displays dates, times, and currency values according to specific cultural and regional expectations.
  • Template Compilation Tools - Compiles human-readable translation templates into optimized JavaScript functions for efficient runtime execution.
  • Localization Services - Manages the end-to-end workflow of compiling and loading localized text within web applications.
  • Source Code Extractors - Automates the identification and extraction of translatable strings from source code during the build process.
  • Locale Translation Files - Automates the compilation of translation files into machine-ready formats during the build process.

Star 历史

formatjs/formatjs 的 Star 历史图表formatjs/formatjs 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

formatjs/formatjs 是做什么的?

FormatJS is an internationalization framework and library designed for building web applications that support multiple languages and regional formats. It provides a comprehensive suite of tools for managing the translation workflow, including the extraction of translatable strings from source code and the compilation of human-readable templates into optimized JavaScript functions.

formatjs/formatjs 的主要功能有哪些?

formatjs/formatjs 的主要功能包括:Internationalization Frameworks, Web Application Frameworks, Message Format Libraries, Translation Management, Translation Tools, Internationalized Date Formatting, Internationalization, Pluralization Rules。

formatjs/formatjs 有哪些开源替代品?

formatjs/formatjs 的开源替代品包括: yahoo/react-intl — react-intl is a React internationalization framework and locale-aware formatting tool. It serves as an i18n message… lingui/js-lingui — Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React,… i18next/react-i18next — react-i18next is an internationalization framework that integrates the i18next ecosystem into React applications. It… i18next/i18next — i18next is a JavaScript localization library and internationalization framework used to translate application text… drogonframework/drogon — Drogon is a high-performance, cross-platform C++ framework designed for building asynchronous web services and… globalizejs/globalize — Globalize is a JavaScript internationalization library and Unicode CLDR localization engine. It provides a toolkit for…

Formatjs 的开源替代方案

相似的开源项目,按与 Formatjs 的功能重合度排序。
  • yahoo/react-intlyahoo 的头像

    yahoo/react-intl

    14,718在 GitHub 上查看↗

    react-intl is a React internationalization framework and locale-aware formatting tool. It serves as an i18n message formatting library and part of the FormatJS ecosystem, providing components and APIs to format dates, numbers, and messages within React applications. The framework uses the native browser Internationalization API to ensure numeric and temporal data adheres to specific cultural conventions. It implements a system for translating user-facing text and interpolating variables using standardized ICU message syntax. The project covers the broader requirements of React UI localizatio

    TypeScript
    在 GitHub 上查看↗14,718
  • lingui/js-linguilingui 的头像

    lingui/js-lingui

    5,786在 GitHub 上查看↗

    Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React, SolidJS, Svelte, Astro, and other JavaScript frameworks. It operates through a compile-time message extraction pipeline that scans source files for translatable strings, generates standard PO, JSON, or CSV catalog files, and compiles them into optimized JavaScript modules for production deployment. The library uses macro-based message definition to wrap translatable text in source code while preserving context for extraction, and includes a plural rule engine that automatically

    TypeScript
    在 GitHub 上查看↗5,786
  • i18next/react-i18nexti18next 的头像

    i18next/react-i18next

    10,005在 GitHub 上查看↗

    react-i18next is an internationalization framework that integrates the i18next ecosystem into React applications. It provides a system for replacing hardcoded strings with dynamic keys to support multiple languages across a user interface. The library includes an ICU message formatter for handling complex pluralization and gender-based translations. It features a localization management interface that allows for synchronizing translation keys with remote platforms and performing in-context content editing. The project covers server-side rendering localization with request-isolated translatio

    JavaScripti18ni18nextinternationalization
    在 GitHub 上查看↗10,005
  • i18next/i18nexti18next 的头像

    i18next/i18next

    8,583在 GitHub 上查看↗

    i18next is a JavaScript localization library and internationalization framework used to translate application text into multiple languages. It functions as a dynamic translation manager that handles translation resources, language detection, and the mapping of unique keys to localized strings. The system features a pluralization and interpolation engine that applies language-specific grammatical rules for numeric counts and injects dynamic variables into strings. It utilizes a plugin-based backend architecture to load and cache translation namespaces from various sources, including remote ser

    JavaScript
    在 GitHub 上查看↗8,583
查看 Formatjs 的所有 30 个替代方案→