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

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

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

25 个仓库

Awesome GitHub RepositoriesPluralization Rules

Logic for selecting correct string forms based on numeric values and locale-specific grammar.

Explore 25 awesome GitHub repositories matching software engineering & architecture · Pluralization Rules. Refine with filters or upvote what's useful.

Awesome Pluralization Rules GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • angular/angular.jsangular 的头像

    angular/angular.js

    58,615在 GitHub 上查看↗

    AngularJS is a structural framework for building dynamic web applications by extending standard HTML with custom tags and attributes. It operates as a client-side template engine that transforms declarative markup into interactive components, organizing application logic through a model-view-controller pattern. By utilizing a centralized dependency injection container, the framework manages the lifecycle of services and components to ensure modularity and maintainable architecture. The framework is defined by its two-way data binding mechanism, which automatically synchronizes data models wit

    Selects appropriate string variations based on numeric values and locale-specific grammar rules to ensure correct text rendering.

    JavaScript
    在 GitHub 上查看↗58,615
  • fyne-io/fynefyne-io 的头像

    fyne-io/fyne

    27,941在 GitHub 上查看↗

    Fyne is a cross-platform graphical user interface toolkit for the Go programming language. It provides a comprehensive framework for building native applications that run on desktop, mobile, and web environments from a single codebase. The toolkit centers on a canvas-based rendering engine and a device-independent layout engine, ensuring that visual elements maintain consistent dimensions and behavior across diverse operating systems and screen densities. The project distinguishes itself through a reactive data-binding system that automatically synchronizes application state with interface co

    Selects different string variations based on numeric values to ensure grammatical correctness across languages.

    Goandroidcross-platformfyne
    在 GitHub 上查看↗27,941
  • 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

    Implements logic to select the correct linguistic string form based on numeric values and locale-specific grammar.

    TypeScript
    在 GitHub 上查看↗14,718
  • formatjs/formatjsformatjs 的头像

    formatjs/formatjs

    14,723在 GitHub 上查看↗

    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 b

    Implements pluralization rules to select correct grammatical forms based on numeric values and locale-specific data.

    TypeScriptformatjsglobalizationi18n
    在 GitHub 上查看↗14,723
  • doctrine/inflectordoctrine 的头像

    doctrine/inflector

    11,349在 GitHub 上查看↗

    Inflector is a linguistic data processing library designed to handle string transformations and grammatical inflection within PHP applications. It provides a centralized engine for converting words between singular and plural forms and standardizing text formats to ensure consistency across dynamic content and codebase naming conventions. The library distinguishes itself through a rule-based inflection engine that utilizes regular expression pattern matching to apply grammatical logic. Developers can extend this functionality using a configurable registry, which allows for the injection or ov

    Automates pluralization logic to ensure correct language usage in dynamic application interfaces.

    PHP
    在 GitHub 上查看↗11,349
  • humanizr/humanizerHumanizr 的头像

    Humanizr/Humanizer

    9,717在 GitHub 上查看↗

    Humanizer is a .NET natural language formatter and string manipulation library designed to convert technical identifiers, numbers, and dates into grammatically correct, human-readable text. It functions as a pluralization engine, localization utility, and case conversion tool for the .NET ecosystem. The library provides specialized capabilities for transforming programming conventions like PascalCase or snake_case into readable sentences and vice versa. It distinguishes itself by handling irregular and uncountable English words during pluralization and singularization, and by applying culture

    Transforms singular nouns into plural forms while handling irregular and uncountable English words.

    C#hacktoberfestlocalization
    在 GitHub 上查看↗9,717
  • home-assistant/home-assistant.iohome-assistant 的头像

    home-assistant/home-assistant.io

    9,466在 GitHub 上查看↗

    Home Assistant is a local home automation platform and server that acts as an IoT device orchestrator. It integrates diverse smart home hardware by wrapping third-party APIs into a standardized logic layer and stores all system state and historical statistics on local hardware to eliminate cloud dependencies. The system functions as a Matter IoT controller and an MQTT home automation bridge, allowing for local interoperability between different manufacturers. It features a state-based entity model and an internal event bus that decouple physical device logic from system automation. The platf

    Adjusts nouns and verbs in strings based on numeric counts to ensure correct grammatical pluralization.

    HTMLdocumentationhacktoberfesthass
    在 GitHub 上查看↗9,466
  • 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

    Provides a rule-based engine to select translation variants based on numeric counts and locale-specific grammar.

    JavaScript
    在 GitHub 上查看↗8,583
  • godotengine/godot-demo-projectsgodotengine 的头像

    godotengine/godot-demo-projects

    8,250在 GitHub 上查看↗

    This repository is a comprehensive collection of functional 2D and 3D demo projects and implementation samples for the Godot Game Engine. It serves as an interactive tutorial and reference library, providing a working codebase to demonstrate how to apply engine features in real-world scenarios. The collection focuses on practical implementation guides, covering a wide array of technical capabilities from basic engine fundamentals to advanced rendering and scripting techniques. It allows users to study the application of node-based composition, asset pipelines, and game logic through direct ex

    Selects appropriate translated strings based on item quantity and locale-specific grammar rules.

    GDScript
    在 GitHub 上查看↗8,250
  • kazupon/vue-i18nkazupon 的头像

    kazupon/vue-i18n

    7,230在 GitHub 上查看↗

    vue-i18n is an internationalization framework and plugin for Vue.js applications. It serves as a dynamic translation manager and localization formatting library used to translate user interface text and format dates and numbers for global audiences. The project distinguishes itself through a dynamic translation workflow that supports asynchronous locale loading and the ability to reload translation messages in real-time without refreshing the page. It provides specialized mechanisms for rich text rendering, allowing the interpolation of HTML tags and Vue components directly into translated st

    Selects the correct translation string based on numeric values and locale-specific grammatical rules.

    JavaScripti18ninternationalizationinternationalization-plugin
    在 GitHub 上查看↗7,230
  • symfony/translationsymfony 的头像

    symfony/translation

    6,607在 GitHub 上查看↗

    Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a complete system for managing message catalogs, handling locale-aware string translation, and formatting messages using ICU MessageFormat syntax to support pluralization, gender, and conditional selection. The component organizes translatable strings into named domains, supports key-based lookup that decouples source text from localized versions, and offers deferred rendering through translatable objects that store parameters and render only when output is needed. The library disting

    Applies language-specific plural rules to select the correct grammatical form for a numeric count.

    PHPcomponentphpsymfony
    在 GitHub 上查看↗6,607
  • 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

    Generates correct plural forms for any language automatically using CLDR plural rules without developer intervention.

    TypeScript
    在 GitHub 上查看↗5,786
  • tmodloader/tmodloadertModLoader 的头像

    tModLoader/tModLoader

    5,099在 GitHub 上查看↗

    tModLoader is a modding framework and toolset designed for expanding game content and extending core game logic. It provides a polymorphic content API that allows for the creation of new items, NPCs, projectiles, and world assets through object-oriented inheritance. The project is distinguished by its advanced code modification capabilities, utilizing intermediate language bytecode patching and reflection-based private access to alter internal game behavior. It features a hot-reloading assembly runtime that enables developers to recompile and apply source code changes in real-time without res

    tModLoader selects different word forms based on numeric values using language-specific cardinal rules.

    C#apigamesteam
    在 GitHub 上查看↗5,099
  • jquery/globalizejquery 的头像

    jquery/globalize

    4,840在 GitHub 上查看↗

    Globalize 是一个 JavaScript 国际化库,使用 Unicode 通用区域数据存储库(CLDR)JSON 数据来提供本地化服务。它作为区域感知字符串格式化程序,以及根据特定区域设置模式将日期、时间、货币和数值转换为字符串的系统。 该库包含一个预编译的本地化引擎,可在构建过程中生成优化的格式化函数。这种方法减少了运行时开销,并消除了在执行时加载原始区域数据的需求。 该项目涵盖了广泛的国际化功能,包括相对时间格式化、动态复数处理,以及支持性别变体和特定语言变量的本地化消息格式化。它还管理货币值和时间戳的转换,以匹配区域期望。

    Implements logic to select the correct grammatical string forms based on numeric values and locale-specific grammar.

    JavaScript
    在 GitHub 上查看↗4,840
  • globalizejs/globalizeglobalizejs 的头像

    globalizejs/globalize

    4,838在 GitHub 上查看↗

    Globalize 是一个 JavaScript 国际化库和 Unicode CLDR 本地化引擎。它提供了一个工具包,用于使用 Unicode 通用区域数据存储库和 IANA 时区来格式化日期、数字和货币。 该项目具有一个构建时本地化编译器,可将规则预编译为静态格式化程序,以减少运行时开销和包大小。它包含一个使用 ICU MessageFormat 语法解析和格式化复杂字符串的系统,支持变量、复数和性别变体。 该库涵盖了广泛的本地化功能,包括双向日期和时间解析、数字和货币标记化以及相对时间格式化。它管理区域数据加载、全应用语言配置以及用于解析缺失翻译键的消息继承链。

    Resolves and formats messages based on locale-specific pluralization rules to ensure grammatical correctness.

    JavaScriptcldrcldr-datacldr-json
    在 GitHub 上查看↗4,838
  • dustin/go-humanizedustin 的头像

    dustin/go-humanize

    4,802在 GitHub 上查看↗

    go-humanize is a Go library for converting raw numbers, byte sizes, and durations into natural language strings to improve human readability. The project provides specialized formatters for byte sizes using SI or IEC standards and a relative time formatter that transforms durations into descriptions such as three days ago. It also includes an SI unit formatter for converting numeric values to and from International System of Units prefixes and symbols. Beyond technical units, the library includes English natural language utilities for pluralizing nouns, generating ordinal numbers, and joinin

    Determines the correct English noun form based on numeric counts using regular and irregular grammar rules.

    Go
    在 GitHub 上查看↗4,802
  • goravel/goravelgoravel 的头像

    goravel/goravel

    4,749在 GitHub 上查看↗

    Goravel 是一个功能齐全的开发脚手架和框架,用于使用 Go 编程语言构建 Web 应用、REST API 和 gRPC 服务。它实现了模型-视图-控制器(MVC)架构,并为高性能远程过程调用服务器和客户端提供了全面的工具包。 该框架的独特之处在于其广泛的集成生态系统,包括用于数据库管理的流畅对象关系映射器(ORM),以及用于管理自动化和项目脚手架的专用命令行界面工具包。它具有基于驱动的服务抽象,允许开发者在不更改应用逻辑的情况下切换存储、缓存和会话后端。 该平台涵盖了广泛的应用功能,包括带有分布式队列的异步任务处理、通过基于令牌的身份验证进行的安全身份管理,以及具有加密和访问控制的稳健安全层。它还提供内容本地化、模板渲染以及带有依赖模拟的自动化测试基础设施工具。

    Implements linguistic rules to select the correct translation string based on numeric counts.

    Goapiframeworkgo
    在 GitHub 上查看↗4,749
  • masterminds/sprigMasterminds 的头像

    Masterminds/sprig

    4,692在 GitHub 上查看↗

    Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co

    Provides logic to select different string representations based on integer counts for singular and plural forms.

    Gogotemplatetemplates
    在 GitHub 上查看↗4,692
  • angular-translate/angular-translateangular-translate 的头像

    angular-translate/angular-translate

    4,281在 GitHub 上查看↗

    AngularJS Internationalization Library 是一个用于 AngularJS 1.x 应用的本地化框架。它作为一个 i18n 翻译工具,用于根据选定的语言环境替换静态用户界面文本。 该框架通过异步加载翻译文件来管理多语言内容,以最大限度地减小包体积。它包括处理复数规则以及将动态变量插入翻译字符串的系统。 该项目还提供语言切换和回退链解析功能,以确保在缺少主要翻译键时显示可读的字符串。

    Implements linguistic logic to select the correct translation string based on numeric values and grammatical plural forms.

    JavaScriptangularjsboweri18n
    在 GitHub 上查看↗4,281
  • pylons/pyramidPylons 的头像

    Pylons/pyramid

    4,086在 GitHub 上查看↗

    Pyramid 是一个 Python Web 框架和 WSGI 工具包,专为构建 Web 应用程序而设计。它作为一个 URL 路由引擎,使用基于模式的路由和分层资源树遍历,将传入的 HTTP 请求映射到特定的视图可调用对象。 该框架的特色在于其混合调度系统,允许开发人员将正则表达式 URL 匹配与通过导航嵌套对象树来解析请求的能力相结合。它实现了一个灵活的组件架构,支持应用程序注册表管理、延迟配置执行,以及在不修改原始源代码的情况下覆盖视图或路由的能力。 其更广泛的功能面涵盖了通过签名 Cookie 和基于 ACL 的授权进行的身份管理、用于请求生命周期的事件驱动协调系统,以及用于 UI 翻译的国际化服务。它还通过自定义序列化程序和模板集成提供内容渲染工具,以及用于注入横切逻辑的中间件 tween 管道。 该工具包包括一个用于路由检查、项目脚手架和应用程序调试的管理命令行界面。

    Implements linguistic rules for selecting the correct singular or plural string form based on numeric values.

    Pythonpylonspyramidpython
    在 GitHub 上查看↗4,086
上一个12下一个
  1. Home
  2. Software Engineering & Architecture
  3. Localization
  4. Pluralization Rules

探索子标签

  • Linguistic Rule EnginesEngines that combine pluralization, ordinal, and transliteration rules to ensure grammatical correctness across scripts. **Distinct from Pluralization Rules:** Broadens a single rule type (like pluralization) into a comprehensive engine for various linguistic requirements.