Files
RenewCMS/docs/design/screens/localization-surfaces.md
T

2.2 KiB

Localization: existing surfaces

Board: RenewCMS Screens Localization. Frame: LocaleFrame. Data: locale-fixtures.js (single fixture source), tables in locale-spec.js. UI copy says "article", never "story". No revision numbers, IDs or HTTP status names in user-facing text.

L12 Existing surfaces

Route: Home · Activity · Media · editor details API: existing; language added where it applies

Single-language sites show none of this. Home counts articles, not versions.

ID State Trigger Selector Sizes Fixture
loc.l12.home Home: recent articles Default-language title; code only when not default LocaleFrame{s:{v:"sf",x:"home"}} 1440, 1024, 390 Journal
loc.l12.homeFr Home: reader of French only Titles in French with code FR LocaleFrame{s:{v:"sf",x:"homeFr"}} 1440, 1024, 390 Journal
loc.l12.activity Activity Events name the language LocaleFrame{s:{v:"sf",x:"activity"}} 1440, 1024, 390 Journal
loc.l12.media Media usage Media page with the image detail panel: shared image counted once, versions listed, "Used in 2" LocaleFrame{s:{v:"sf",x:"media"}} 1440, 1024, 390 Journal
loc.l12.mediaElsewhere Media usage: used elsewhere only Image used only as an author avatar: badge "Used in 1", "Articles" with "No article shows it.", "Used elsewhere" with Author avatar linking to /authors LocaleFrame{s:{v:"sf",x:"mediaElsewhere"}} 1440, 390 Journal
loc.l12.menu Article menu labels Articles list, French selected: row menu names the language (Publish French, Delete French version). Bottom sheet at 390 LocaleFrame{s:{v:"li",x:"menuLang"}} 1440, 390 Journal
loc.l12.apiCopy API URL copy Articles list: toast after Copy API URL with the ?lang= address. Bottom toast at 390 LocaleFrame{s:{v:"li",x:"apiCopy"}} 1440, 390 Journal
loc.l12.seoPreview SEO preview Search and sharing slide-over: localized address and canonical LocaleFrame{s:{v:"seo",x:"preview"}} 1440, 390 Journal
loc.l12.siteFallback Site text fallback Search and sharing slide-over: site text used only in its own language LocaleFrame{s:{v:"seo",x:"siteFallback"}} 1440, 390 Journal