https://w3id.org/np/RA3zkqNyPLawgHwKlS5-xfvdBfsfJrbP2jyMgiQ1Nvh5E
has assertion: Example: Multilingual descriptions (language-tag picker demo)
has provenance: provenance
has publication info: pubinfo
type: Nanopublication
created: 2026-07-15T07:23:07Z
creator: Tobias Kuhn
license: https://creativecommons.org/publicdomain/zero/1.0/

alternative label
type: LiteralPlaceholder
has language tag: en

Example: Multilingual descriptions (language-tag picker demo)
description: Demo template for the language-tag picker on literal placeholders (nanodash PR #559). It shows all cases: 'name' has a restricted picker (en/de/fr) with default en and is repeatable (one name per language); 'comment' has an unrestricted picker with free BCP 47 entry (full tags like en-GB or de-CH can be typed) and, being optional, demonstrates that entering text without picking a language blocks submission; 'description' shows the picker on a long-literal textarea; 'regional name' has a restricted picker of full region-subtag languages (de-CH, de-DE, de-AT, fr-CH, it-CH) with no default; 'alternative label' has a fixed en tag for contrast (no picker).
type: AssertionTemplate
type: UnlistedTemplate
has nanopub label pattern: Example: multilingual descriptions of ${thing}
has statement: st1
has statement: st2
has statement: st3
has statement: st4
has statement: st5
was attributed to: Tobias Kuhn

comment
type: LanguageTaggedLiteralPlaceholder
type: LiteralPlaceholder

description
type: LanguageTaggedLiteralPlaceholder
type: LongLiteralPlaceholder

name
type: LanguageTaggedLiteralPlaceholder
type: LiteralPlaceholder
has language tag: en
possible language tag: de
possible language tag: en
possible language tag: fr

regional name
type: LanguageTaggedLiteralPlaceholder
type: LiteralPlaceholder
possible language tag: de-AT
possible language tag: de-CH
possible language tag: de-DE
possible language tag: fr-CH
possible language tag: it-CH

st1
object: name
predicate: label
subject: thing being described
type: RepeatableStatement
statement order: 1

st2
object: comment
predicate: comment
subject: thing being described
type: OptionalStatement
statement order: 2

st3
object: description
predicate: description
subject: thing being described
type: OptionalStatement
statement order: 3

st4
object: regional name
predicate: prefLabel
subject: thing being described
type: OptionalStatement
statement order: 4

st5
object: alternative label
predicate: altLabel
subject: thing being described
type: OptionalStatement
statement order: 5

thing being described
type: UriPlaceholder

sig
has algorithm: RSA
signed by: Tobias Kuhn