awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ruby-i18n avatar

ruby-i18n/i18n

0
View on GitHub↗
1,028 stars·416 forks·Ruby·MIT·2 vues

I18n

Cette bibliothèque fournit un framework fondamental pour internationaliser les applications Ruby en découplant le texte du code source. Elle gère le cycle de vie complet de la traduction, y compris l'interpolation de contenu dynamique, la pluralisation et le formatage spécifique à la locale. Le système garantit la stabilité de l'application grâce à une gestion d'état thread-safe et une gestion d'erreurs configurable pour les clés de traduction manquantes.

Le projet se distingue par une architecture hautement modulaire qui prend en charge des backends de stockage enfichables, permettant aux données de traduction d'être récupérées à partir de bases de données, de magasins clé-valeur ou de formats de fichiers standards. Il inclut une logique sophistiquée pour la résolution de repli hiérarchique, garantissant que le contenu reste disponible même lorsque des traductions spécifiques sont manquantes. De plus, la bibliothèque facilite le routage sensible à la locale et l'interception de requêtes, permettant aux applications de maintenir un contexte linguistique cohérent à travers les sessions utilisateur.

Au-delà des primitives de traduction de base, la bibliothèque offre des outils pour automatiser les flux de travail de localisation, tels que l'extraction de chaînes codées en dur et l'échafaudage de nouveaux projets. Elle fournit également des mécanismes pour analyser les entrées utilisateur spécifiques à la région, telles que les dates et les nombres, dans des formats standardisés. Le framework prend en charge la translittération de texte et s'intègre avec des formats de fichiers standards pour rationaliser la gestion du contenu multilingue.

Features

  • Ruby Frameworks - Provides a foundational framework for managing translations, pluralization, and locale-specific formatting in Ruby applications.
  • Locale Fallback Resolution - Traverses a priority list of locales to resolve missing translation keys.
  • Pluralization and Interpolation Engines - Processes translation strings at runtime to inject variables, handle pluralization rules, and apply locale-specific formatting.
  • Internationalized Content Renderers - Translates application content into multiple languages with support for dynamic interpolation and regional formatting.
  • Multi-Language Content Delivery - Intercepts request paths to serve locale-specific content and maintain language context.
  • Content Translation - Maps translation keys to localized strings with support for dynamic interpolation and pluralization rules.
  • Localization Frameworks - Handles multi-language support including locale fallbacks, transliteration, and regional input parsing.
  • Translation Management - Decouples application text from source code to support dynamic interpolation and external storage.
  • Locale-Aware Date and Number Formatting - Parses region-specific numbers, dates, and times from user input into standardized formats.
  • Translation Data Stores - Manages the storage and retrieval of translation strings from diverse sources like databases and key-value stores.
  • Pluggable Storage Backends - Supports interchangeable storage adapters for translation data, including databases and file systems.
  • Gettext Implementations - Supports standard gettext file formats for mapping source strings to localized text without requiring manual key aliases.
  • Thread-Local State Management - Isolates locale and configuration state within thread-safe containers for concurrent request processing.
  • Translation Backend Plugin Systems - Provides a pluggable architecture to retrieve translation data from databases, key-value stores, or remote backends.
  • Request Interception Middleware - Intercepts incoming web requests to detect and set the user language context.
  • Key Extraction - Identifies and extracts hardcoded strings from source code into centralized translation keys.
  • Translation Workflows - Coordinates collaborative editing and synchronization of translation strings across teams.
  • User Input Processing - Interprets region-specific user input for dates and numbers to ensure accurate data processing.
  • Application Locale Management - Manages the active language context within the application request lifecycle to ensure consistent content display.
  • Automated Translation Workflows - Automates the extraction, synchronization, and fallback logic for translation keys.
  • Locale-Aware Routing Middleware - Intercepts incoming requests to support locale-specific URL structures and language-based routing.

Historique des stars

Graphique de l'historique des stars pour ruby-i18n/i18nGraphique de l'historique des stars pour ruby-i18n/i18n

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant I18n

Sélections manuelles où I18n apparaît.
  • Bibliothèques d'internationalisation et de localisation

Alternatives open source à I18n

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec I18n.
  • ngx-translate/coreAvatar de ngx-translate

    ngx-translate/core

    4,666Voir sur GitHub↗

    This is an internationalization framework for Angular applications. It provides a system for managing multilingual text by mapping keys to translated strings, utilizing a JSON translation manager to load and merge localized assets via HTTP or local sources. The library includes a runtime language switcher to update the user interface instantly without reloading the page and a key extractor to identify translatable strings within source code. The project features an ICU message formatter to handle complex linguistic requirements such as pluralization and gender. It distinguishes itself through

    TypeScript
    Voir sur GitHub↗4,666
  • lokalise/i18n-allyAvatar de lokalise

    lokalise/i18n-ally

    4,874Voir sur GitHub↗

    i18n-ally is a VS Code extension and internationalization management tool designed to handle translation workflows directly within the code editor. It provides a system for extracting hardcoded strings, managing translation keys, and detecting missing locale values across a codebase. The tool distinguishes itself by providing an inline translation viewer that displays values and metadata next to keys in the source code. It also includes a machine translation integrator to automatically populate empty locale files with initial candidates and a locale file parser that supports multiple formats,

    TypeScriptangulari10ni18n
    Voir sur GitHub↗4,874
  • amannn/next-intlAvatar de amannn

    amannn/next-intl

    4,304Voir sur GitHub↗

    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

    TypeScriptdate-formattingi18nnext
    Voir sur GitHub↗4,304
  • kazupon/vue-i18nAvatar de kazupon

    kazupon/vue-i18n

    7,230Voir sur 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

    JavaScripti18ninternationalizationinternationalization-plugin
    Voir sur GitHub↗7,230
Voir les 30 alternatives à I18n→

Questions fréquentes

Que fait ruby-i18n/i18n ?

Cette bibliothèque fournit un framework fondamental pour internationaliser les applications Ruby en découplant le texte du code source. Elle gère le cycle de vie complet de la traduction, y compris l'interpolation de contenu dynamique, la pluralisation et le formatage spécifique à la locale. Le système garantit la stabilité de l'application grâce à une gestion d'état thread-safe et une gestion d'erreurs configurable pour les clés de traduction manquantes.

Quelles sont les fonctionnalités principales de ruby-i18n/i18n ?

Les fonctionnalités principales de ruby-i18n/i18n sont : Ruby Frameworks, Locale Fallback Resolution, Pluralization and Interpolation Engines, Internationalized Content Renderers, Multi-Language Content Delivery, Content Translation, Localization Frameworks, Translation Management.

Quelles sont les alternatives open-source à ruby-i18n/i18n ?

Les alternatives open-source à ruby-i18n/i18n incluent : ngx-translate/core — This is an internationalization framework for Angular applications. It provides a system for managing multilingual… lokalise/i18n-ally — i18n-ally is a VS Code extension and internationalization management tool designed to handle translation workflows… amannn/next-intl — next-intl is an internationalization framework for Next.js applications. It provides a system for managing… kazupon/vue-i18n — vue-i18n is an internationalization framework and plugin for Vue.js applications. It serves as a dynamic translation… wagtail/wagtail — Wagtail is an open-source content management system built on the Django web framework. It provides a structured,… vendurehq/vendure — Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as…