@oh-my-dsh/dsh-i18n
v0.1.0
Published
BCP 47 locale registry and Stent adapter for DeepSeek Harness
Readme
dsh-i18n
@oh-my-dsh/dsh-i18n is an external locale adapter for DeepSeek Harness. It uses canonical BCP 47 locale identifiers and Stent load-time hooks without modifying @deepseek-ai/dsh-client-locale source.
Current implementation
- Canonicalizes locale input with
Intl.getCanonicalLocales(). - Accepts underscore aliases such as
zh_cnand storeszh-CN. - Keeps custom locale preference in
localStorageinstead of Hostlocale.preference. - Supplies a Node
stent-entryand browser./clientplugin face. - Supplies Stent descriptors for the current
@deepseek-ai/dsh-client-localeruntime line.
The adapter currently targets @deepseek-ai/[email protected]. Required Stent bindings intentionally fail loud when the target package or its internal method names change.
Installation
Enable the dsh-i18n-stent profile row together with the Stent carrier. The row is disabled in plain DSH profiles and is enabled by stent-dsh.
Persistence
Built-in Host IDs (zh and en) continue through the Host settings path. Custom IDs such as zh-CN use the dsh-i18n.locale browser storage key and are never written to the current Host settings schema.
