diff options
| author | Alex Gleason <alex@alexgleason.me> | 2024-07-29 11:52:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 11:52:38 -0500 |
| commit | 289b415186b3739d72cd4c5e188874756685c01a (patch) | |
| tree | 1fd9761a40f3528048ed6e94029eb7d3d5826517 /32.md | |
| parent | ffbcceac1e8a97058cc5e85c4a20ef50958de495 (diff) | |
| parent | c7f4f68d03376c14a6813f9a04346ea1712503cc (diff) | |
Merge pull request #1386 from alopatindev/nip-32-language
NIP-32: Language example
Diffstat (limited to '32.md')
| -rw-r--r-- | 32.md | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -128,6 +128,20 @@ is labeling their note as being related to Milan, Italy using ISO 3166-2. | |||
| 128 | } | 128 | } |
| 129 | ``` | 129 | ``` |
| 130 | 130 | ||
| 131 | Author is labeling their note language as English using ISO-639-1. | ||
| 132 | |||
| 133 | ```json | ||
| 134 | { | ||
| 135 | "kind": 1, | ||
| 136 | "tags": [ | ||
| 137 | ["L", "ISO-639-1"], | ||
| 138 | ["l", "en", "ISO-639-1"] | ||
| 139 | ], | ||
| 140 | "content": "English text", | ||
| 141 | ... | ||
| 142 | } | ||
| 143 | ``` | ||
| 144 | |||
| 131 | Other Notes | 145 | Other Notes |
| 132 | ----------- | 146 | ----------- |
| 133 | 147 | ||