OPEN_GRID API - v1.5.2
    Preparing search index...

    Function t

    로케일 메시지 레지스트리·전역 싱글턴·편의 t().

    Locale message registry, global singleton & convenience t().

    ロケールメッセージレジストリ・グローバルシングルトン・便利な t()。

    语言环境消息注册表、全局单例及便捷函数 t()。

    • 그리드 인스턴스 컨텍스트가 없는 코드(순수 함수형 헬퍼 등)에서 전역 카탈로그로 바로 문구를 얻을 때 쓰는 편의 함수(renderIcon 과 동일 패턴). 인스턴스별로 다른 문구가 필요하면 대신 localeRegistry.child() 를 쓴다.

      Convenience function for code with no grid-instance context (e.g. standalone helpers) that needs a message straight from the global catalog (same pattern as renderIcon). If per-instance wording is needed, use localeRegistry.child() instead.

      グリッドのインスタンスコンテキストがないコード(純粋関数型のヘルパーなど)から、グローバル カタログで直接文言を得るときに使う便利関数(renderIcon と同じパターン)。インスタンスごとに 違う文言が必要なら、代わりに localeRegistry.child() を使います。

      在没有表格实例上下文的代码(纯函数式辅助函数等)中,直接从全局目录取得文案时使用的便捷函数 (与 renderIcon 同一模式)。如果每个实例需要不同的文案,请改用 localeRegistry.child()

      Parameters

      • key: string
      • Optionalparams: Readonly<Record<string, string | number>>

      Returns string

      import { t } from './i18n/LocaleRegistry.js';
      t('sort.asc'); // → '오름차순'