Describing a Layout
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
When a layout is ready for someone else to try, its name and author tell them whose work they are using. The primary language gives embedded analysis somewhere relevant to start. For layouts that type an input form such as rōmaji, the description also tells the Playground which text it should analyze.
To tell the Playground to analyze rōmaji for Japanese, declare the language and input form as 大西配列 does at the top of its layout file:
schema_version = 1name = '大西配列'author = '大西拓磨'author_link = 'https://o24.works/layout/'languages = ['ja']input_forms = { ja = 'romaji' }year = 2022The metadata fields are schema_version, name, author, author_link, languages, input_forms, year.
Finish the file with a keyboard definition and key assignments.
Layout Metadata
Section titled “Layout Metadata”| Field | What it describes |
|---|---|
schema_version | The layout source format. Use 1 for a new layout. This is not a layout revision number. |
name | The layout’s display name. Add a qualifier only when it distinguishes another version, mapping, standard, or implementation. |
author | The name or names to credit for the layout. |
author_link | Optional URL for the author. |
year | Four-digit year the described layout was first published. |
languages | At least one accepted tag, without duplicates. Put the main intended language first. |
input_forms | Maps projected languages in languages to the way this layout enters text. Use kana or romaji for ja, hangul for ko, and pinyin, zhuyin, cangjie5, wubi86, or stroke for zh. |
Embedded analysis starts with the first available corpus for the primary language. It uses the usual Playground default if the primary language has no available corpus.
Accepted Language Tags
Section titled “Accepted Language Tags”Choose the script-specific tag when the list distinguishes writing systems. Use en for new English layouts; en-US remains accepted for existing documents. The names below identify the accepted tags, not the languages for which the Playground supplies corpora or translations.
ady: адыгабзэaf: Afrikaansagq: Aghemak: Akanar: العربيةasa: Kipareast: asturianuaz-Cyrl: азәрбајҹан (Кирил)az-Latn: azərbaycan (latın)ba: башҡортbas: Ɓàsàabe: беларускаяbem: Ichibembabez: Hibenabg: българскиblo: anii kagɩjabm-Latn: Bambara (Latin)br: brezhonegbs-Cyrl: босански (ћирилица)bs-Latn: bosanski (latinica)bua: буряадca: catalàce: нохчийнceb: Cebuanocgg: Rukigachr: ᏣᎳᎩckb: کوردیی ناوەندیcs: češtinacsw-Cans: ᓀᐦᐃᓇᐍᐏᐣ (ᓀᐦᐃᔭᐘᓯᓇᐦᐃᑳᑌᐤ)cv: чӑваш чӗлхиcy: Cymraegda: danskdav: Kitaitade: Deutschdje: Zarmaciinedsb: dolnoserbšćinadua: duáládyo: joolaebu: Kĩembuee: eʋegbeel: Ελληνικάen: Englishen-US: Englisheo: Esperantoes: españolet: eestieu: euskaraewo: ewondofa: فارسیff-Latn: Fula (Latin)fi: suomifil: Filipinofo: føroysktfr: françaisfur: furlanfy: Fryskga: Gaeilgegaa: Gãgd: Gàidhliggl: galegogsw: Schwiizertüütschguz: Ekegusiigv: Gaelgha-Latn: Hausa (Latin)haw: ʻŌlelo Hawaiʻihe: עבריתhr: hrvatskihsb: hornjoserbšćinahu: magyarhy: հայերենia: interlinguaid: Indonesiaie: Interlingueig: Asụsụ Igbois: íslenskait: italianoja: 日本語jbo: lojbanjgo: Ndaꞌajmc: Kimachamejv-Latn: Jawa (Latin)ka: ქართულიkab: Taqbaylitkam: Kikambakbd: къэбэрдеибзэkde: Chimakondekea: kabuverdianukgp: kanhgágkhq: Koyra ciiniki: Gĩgĩkũyũkk-Arab: قازاق ءتىلى (توتە)kk-Cyrl: қазақ тілі (кирилл жазуы)kkj: kakɔkl: kalaallisutkln: Kalenjinko: 한국어kok-Latn: Konknni (Romi)ks-Arab: کٲشُر (عربی)ksb: Kishambaaksf: rikpaksh: Kölschku-Latn: kurdî (kurmancî) (latînî)kw: kernewekkxv: kuviky-Cyrl: кыргызча (Кирилл)lag: Kɨlaangilb: Lëtzebuergeschlg: Lugandalij: ligurelkt: Lakȟólʼiyapilld: ladinlmo: Lombardln: lingálalt: lietuviųlu: Tshilubaluo: Dholuoluy: Luluhialv: latviešumas: Maamer: Kĩmĩrũmfe: kreol morisienmg: Malagasymgh: Makuamgo: metaʼmi: Māorimk: македонскиmn-Cyrl: монгол (кирилл)ms-Latn: Melayu (Latin)mt: Maltimua: MUNDAŊnaq: Khoekhoegowabnb: norsk bokmålnd: isiNdebelends: Neddersass’schnl: Nederlandsnmg: Kwasionn: norsk nynorsknnh: Shwóŋò ngiembɔɔnno: norsknso: Sesotho sa Leboanus: Thok Nathnyn: Runyankoreoc: occitanom: Oromooos: иронpcm: Naijíriá Píjinpl: polskipt: portuguêsqu: Runasimiquc: Kʼicheʼrm: rumantschrn: Ikirundiro-Latn: română (latină)rof: Kihoromboru: русскийrw: Ikinyarwandarwk: Kiruwasah: саха тылаsaq: Kisampursat-Olck: ᱥᱟᱱᱛᱟᱲᱤ (ᱚᱞ ᱪᱤᱠᱤ)sbp: Ishisangusc: sarduscn: sicilianusd-Arab: سنڌي (عربي)se: davvisámegiellaseh: senases: Koyraboro sennisg: Sängöshi-Latn: Tachelhit (Latin)shi-Tfng: Tachelhit (Tifinagh)sk: slovenčinasl: slovenščinasmn: anarâškielâsn: chiShonaso: Soomaalisq: shqipsr-Cyrl: српски (ћирилица)sr-Latn: srpski (latinica)st: Sesothosu-Latn: Basa Sunda (Basa Latin)sv: svenskasw: Kiswahiliszl: ślōnskiteo: Kitesotk-Latn: türkmen dili (Latyn elipbiýi)tn: Setswanato: lea fakatongatok-Latn: toki pona (sitelen Lasina)tr: Türkçett-Cyrl: татар (кирилл)twq: Tasawaq sennityv: Тываtzm-Latn: Central Atlas Tamazight (Latin)ug-Arab: ئۇيغۇرچە (ئەرەب)uk: українськаur: اردوuz-Cyrl: ўзбекча (Кирил)uz-Latn: o‘zbek (lotin)vai-Latn: Vai (Latin)vec: venetovi: Tiếng Việtvmw: emakhuwavun: Kyivunjowae: Walserwo: Wolofxh: IsiXhosaxog: Olusogayav: nuasueyi: ייִדישyo: Èdè Yorùbáyrl: nheẽgatuza: Vahcuenghzgh: ⵜⴰⵎⴰⵣⵉⵖⵜzh: 中文zu: isiZulu
Writing download = false hides the Install/download controls for that layout; it does not remove the layout source. Use suppress_stat_calculation = true when a layout should remain viewable but excluded from generated corpus statistics. Both fields are optional.
Reference
Section titled “Reference”Document and metadata#
A layout document describes one independent layout.
Schema version#
schema_version = 1
Selects the layout document format. The only accepted value is 1.
Layout name#
name = "Complete name"
The complete public display name.
Author#
author = "Name"
The person or group credited with the layout.
Languages#
languages = ["en"]
Lists each language the layout is intended for, using a neutral language tag such as en, fr, or de. Include the script when it distinguishes current writing systems, such as sr-Latn and sr-Cyrl. Put the primary intended language first, followed by any secondary languages. Embedded family analysis starts with the first available corpus in that language’s picker order, or the normal Playground default if none is available.
Author link#
author_link = "https://example.com/"
A public page for the author.
Publication year#
year = 2026
The year the independent layout was first published.