@@ -5081,7 +5081,10 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5081
5081
example but consolidates all values in a single property. To access the
5082
5082
value in a specific language in a programming language supporting dot-notation
5083
5083
accessors for object properties, a developer may use the
5084
- <code>property.language</code> pattern. For example, to access the occupation
5084
+ <code>property.language</code> pattern
5085
+ (when languages are limited to the primary language sub-tag,
5086
+ and do not depend on other sub-tags, such as `"en-us"`).
5087
+ For example, to access the occupation
5085
5088
in English, a developer would use the following code snippet:
5086
5089
<code>obj.occupation.en</code>.</p>
5087
5090
@@ -7427,7 +7430,9 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
7427
7430
<strong>de</strong> keys are implicitly associated with their respective
7428
7431
values by the <a>JSON-LD Processor</a>. This allows a developer to
7429
7432
access the German version of the <strong>label</strong> using the
7430
- following code snippet: <code>obj.label.de</code>.</p>
7433
+ following code snippet: <code>obj.label.de</code>,
7434
+ which, again, is only appropriate when languages are limited to the
7435
+ primary language sub-tag and do not depend on other sub-tags, such as `"en-us"`.</p>
7431
7436
7432
7437
<p>The value of <code>@container</code> can also
7433
7438
be an array containing both <code>@language</code> and <code>@set</code>.
0 commit comments