Kind: Interface
Source: atloria-monorepo/apps/web/src/app/p/[slugId]/components/LanguageContext.tsx
Public-viewer i18n. Each published DocVersion is written in a single
language; the API exposes the distinct languages (/public/p/:slug/languages)
and the viewer applies dir (RTL/LTR) + renders a locale switcher when more
than one language exists. Doc slugs are English/ASCII and shared across
languages, so switching keeps the reader on the same document.
Properties
| Property | Type |
|---|---|
code | string |
name | string |
dir | `'ltr' |
versionNumber | number |
documentCount | number |
isDefault | boolean |
coveragePct | number |
overlay | boolean |
Was this page helpful?