25 repositorios
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Globalize es una librería de internacionalización para JavaScript que utiliza datos JSON del Unicode Common Locale Data Repository (CLDR) para proporcionar servicios de localización. Funciona como un formateador de cadenas consciente de la configuración regional y como un sistema para transformar fechas, horas, monedas y valores numéricos en cadenas basadas en patrones regionales específicos. La librería incluye un motor de localización precompilado que genera funciones de formato optimizadas durante el proceso de compilación. Este enfoque reduce la sobrecarga en tiempo de ejecución y elimina la necesidad de cargar datos locales sin procesar durante la ejecución. El proyecto cubre una amplia gama de capacidades de internacionalización, incluyendo el formato de tiempo relativo, el manejo dinámico de pluralización y el formato de mensajes localizados que admiten inflexiones de género y variables específicas del idioma. También gestiona la conversión de valores monetarios y marcas de tiempo en cadenas que coinciden con las expectativas regionales.
Implements logic to select the correct grammatical string forms based on numeric values and locale-specific grammar.
Globalize es una librería de internacionalización para JavaScript y un motor de localización Unicode CLDR. Proporciona un kit de herramientas para formatear fechas, números y monedas utilizando el Unicode Common Locale Data Repository y las zonas horarias de IANA. El proyecto cuenta con un compilador de localización en tiempo de compilación que precompila reglas en formateadores estáticos para reducir la sobrecarga en tiempo de ejecución y el tamaño del bundle. Incluye un sistema para analizar y formatear cadenas complejas utilizando la sintaxis ICU MessageFormat, admitiendo variables, pluralización e inflexiones de género. La librería cubre una amplia superficie de capacidades de localización, incluyendo el análisis bidireccional de fechas y horas, la tokenización de números y monedas, y el formato de tiempo relativo. Gestiona la carga de datos locales, la configuración de idioma en toda la aplicación y las cadenas de herencia de mensajes para resolver claves de traducción faltantes.
Resolves and formats messages based on locale-specific pluralization rules to ensure grammatical correctness.
go-humanize es una librería de Go para convertir números crudos, tamaños de bytes y duraciones en cadenas de lenguaje natural para mejorar la legibilidad humana. El proyecto proporciona formateadores especializados para tamaños de bytes utilizando estándares SI o IEC y un formateador de tiempo relativo que transforma duraciones en descripciones como hace tres días. También incluye un formateador de unidades SI para convertir valores numéricos hacia y desde prefijos y símbolos del Sistema Internacional de Unidades. Más allá de las unidades técnicas, la librería incluye utilidades de lenguaje natural en inglés para pluralizar sustantivos, generar números ordinales y unir listas de palabras con conjunciones gramaticales. Herramientas numéricas adicionales manejan separadores de miles, precisión decimal y sufijos de números grandes.
Determines the correct English noun form based on numeric counts using regular and irregular grammar rules.
Goravel es un scaffold de desarrollo y framework completo para construir aplicaciones web, APIs REST y servicios gRPC utilizando el lenguaje de programación Go. Implementa una arquitectura modelo-vista-controlador y proporciona un kit de herramientas integral para servidores y clientes de llamadas a procedimientos remotos de alto rendimiento. El framework se distingue por su extenso ecosistema integrado, que incluye un mapeador objeto-relacional fluido para la gestión de bases de datos y un kit de herramientas de interfaz de línea de comandos dedicado para la automatización administrativa y el scaffolding de proyectos. Cuenta con una abstracción de servicios basada en controladores que permite a los desarrolladores intercambiar backends de almacenamiento, caché y sesiones sin alterar la lógica de la aplicación. La plataforma cubre una amplia superficie de capacidades de aplicación, incluyendo el procesamiento de tareas asíncronas con colas distribuidas, gestión de identidad segura mediante autenticación basada en tokens y una capa de seguridad robusta con cifrado y control de acceso. También proporciona herramientas para la localización de contenido, renderizado de plantillas e infraestructura de pruebas automatizada con mocking de dependencias.
Implements linguistic rules to select the correct translation string based on numeric counts.
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.
AngularJS Internationalization Library es un framework de localización para aplicaciones AngularJS 1.x. Funciona como una herramienta de traducción i18n utilizada para intercambiar texto estático de la interfaz de usuario con versiones localizadas basadas en una configuración regional seleccionada. El framework gestiona contenido en varios idiomas a través de la carga asíncrona de archivos de traducción para minimizar el tamaño del bundle. Incluye sistemas para manejar reglas de pluralización e interpolar variables dinámicas en cadenas de traducción. El proyecto también proporciona capacidades para el cambio de idioma y la resolución de cadenas de respaldo para garantizar que se muestre una cadena legible cuando falta una clave de traducción principal.
Implements linguistic logic to select the correct translation string based on numeric values and grammatical plural forms.
Pyramid es un framework web de Python y toolkit WSGI diseñado para construir aplicaciones web. Funciona como un motor de enrutamiento de URL que mapea las solicitudes HTTP entrantes a view callables específicos, utilizando tanto enrutamiento basado en patrones como recorrido jerárquico de árboles de recursos. El framework se distingue por su sistema de despacho híbrido, que permite a los desarrolladores combinar la coincidencia de URL mediante expresiones regulares con la capacidad de resolver solicitudes navegando por un árbol de objetos anidados. Implementa una arquitectura de componentes flexible que soporta la gestión del registro de aplicaciones, ejecución de configuración diferida y la capacidad de sobrescribir vistas o rutas sin modificar el código fuente original. Su superficie de capacidades más amplia abarca la gestión de identidad mediante cookies firmadas y autorización basada en ACL, un sistema de coordinación basado en eventos para el ciclo de vida de la solicitud y servicios de internacionalización para la traducción de la UI. También proporciona herramientas para el renderizado de contenido mediante serializadores personalizados e integración de plantillas, junto con un pipeline de middleware para inyectar lógica transversal. El toolkit incluye una interfaz de línea de comandos administrativa para la inspección de rutas, andamiaje de proyectos y depuración de aplicaciones.
Implements linguistic rules for selecting the correct singular or plural string form based on numeric values.