Skip to content

Commit

Permalink
Remove i18n section per request by @aphillips.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Oct 21, 2023
1 parent 242c744 commit 94f906f
Showing 1 changed file with 0 additions and 99 deletions.
99 changes: 0 additions & 99 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4152,105 +4152,6 @@ <h2>Presenting Time Values</h2>

</section>

<section>
<h2>Internationalization Considerations</h2>
<p>
The following section describes internationalization considerations that
developers implementing or using this specification are urged to consider in
order to ensure that their software and documents are usable by people that
read, write, or speak a variety of different languages. As a general rule, this
specification is used by system software to secure digital information and
the internationalization support of that digital information is a function of
the data that is being secured, and not this specification.
</p>

<section>
<h2>Internationalization in JSON</h2>

<p>
There is currently no standard way to express language and text direction
information in JSON. Implementers and authors are urged to read guidance
regarding the expression of internationalized string values in the "Strings on
the Web: Language and Direction Metadata" document [[?STRING-META]].
</p>

<p>
The example below is one way in which an author could encode language and text
direction in JSON data that is secured using this specification.
</p>

<pre class="example nohighlight"
title="An example of a JSON document containing internationalized strings">
{
"myWebsite": "https://hello.world.example/",
"title": [{
"value": "My Website",
"language": "en"
}, {
"value": "Mon Site Internet",
"language": "fr"
}, {
"value": "موقع الويب الخاص بي",
"language": "ar",
"direction": "rtl"
}],
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "jcs-eddsa-2022",
"created": "2023-03-05T19:23:24Z",
"verificationMethod": "https://di.example/issuer#z6MkjLrk3gKS2nnkeWcm<wbr>cxiZPGskmesDpuwRBorgHxUXfxnG",
"proofPurpose": "assertionMethod",
"proofValue": "zQeVbY4oey5q2M3XKaxup3tmzN4DRFTLVqpLMweBrSxMY2xHX5XTYV<wbr>8nQApmEcqaqA3Q1gVHMrXFkXJeV6doDwLWx"
}
}
</pre>
</section>

<section>
<h2>Internationalization in JSON-LD</h2>

<p>
The JSON-LD format provides a number of mechanisms that enable the expression of
language and text direction metadata. Implementers and authors are urged to read
the section on <a data-cite="JSON-LD11#string-internationalization">
String Internationalization</a> to understand which mechanisms might be of
most use to their use case.
</p>

<p>
The example below is one way in which an author could encode language and text
direction in JSON-LD data that is secured using this specification.
</p>

<pre class="example nohighlight"
title="An example of a JSON-LD document containing internationalized strings">
{
"myWebsite": "https://hello.world.example/",
"title": [{
"@value": "My Website",
"@language": "en"
}, {
"@value": "Mon Site Internet",
"@language": "fr"
}, {
"@value": "موقع الويب الخاص بي",
"@language": "ar",
"@direction": "rtl"
}],
"proof": {
"type": "DataIntegrityProof",
"cryptosuite": "jcs-eddsa-2022",
"created": "2023-03-05T19:23:24Z",
"verificationMethod": "https://di.example/issuer#z6MkjLrk3gKS2nnkeWcm<wbr>cxiZPGskmesDpuwRBorgHxUXfxnG",
"proofPurpose": "assertionMethod",
"proofValue": "ztmzN4DRFHX5XTYVQeVbYTLVqpLMweBrSxMY2xup34oey5q2M3XKax<wbr>VHMrXFkXx8nJeV6doDwLWA3Q1gQApmEcqaq"
}
}
</pre>
</section>

</section>

<section class="informative">
<h2>Revision History</h2>

Expand Down

0 comments on commit 94f906f

Please sign in to comment.