3 个仓库
Compile-time verification that requested translation keys exist within the resource definitions.
Distinct from Key Existence Verifiers: No candidates cover the intersection of translation keys and compile-time type safety.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Type-Safe Translation Keys. Refine with filters or upvote what's useful.
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
Restricts translation key selection at compile time to ensure only valid, existing paths are used.
ihp 是一个为 PostgreSQL 设计的类型安全 Web 框架和全栈应用编排器。它作为一个服务端渲染框架和类型安全 ORM,能自动从 SQL 模式生成记录类型,以确保编译时的查询验证。 该平台的特色在于在编译时验证路由、数据库查询和模板,以防止运行时崩溃。它使用 WebSocket 实现实时 Web 界面以进行即时数据同步,并采用服务器驱动的超媒体进行部分 DOM 修补。 该框架涵盖了广泛的集成功能,包括支持 Passkey 和 OAuth 的用户身份管理、具有自动迁移功能的完整数据存储层,以及具有类型安全 HTML 模板的综合 UI 渲染系统。它还提供了用于 JSON API 开发、异步后台任务执行以及支付网关金融集成的内置工具。 生产环境通过声明式 NixOS 部署进行管理,以实现可复现的基础设施。
Uses sum types to verify that all translatable strings are mapped to localized versions at compile time.
Easy Localization is a framework for managing multi-language support in mobile applications. It provides a comprehensive system for loading translation datasets from local or remote sources, organizing them into modular files, and rendering localized content dynamically. The library integrates with the application's dependency injection system to broadcast locale changes, enabling reactive interface updates without requiring a full application restart. The project distinguishes itself through a focus on development safety and maintenance. It includes command-line tools to audit source code fo
Generates type-safe constants from translation files to enable IDE autocompletion and prevent runtime key errors.