Skip to content

PublishedLanguage

reference
1 min readUpdated

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

PropertyType
codestring
namestring
dir`'ltr'
versionNumbernumber
documentCountnumber
isDefaultboolean
coveragePctnumber
overlayboolean

Was this page helpful?

Download as PDF