aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/manifest/lang
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/ru/web/manifest/lang
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/ru/web/manifest/lang')
-rw-r--r--files/ru/web/manifest/lang/index.html73
1 files changed, 73 insertions, 0 deletions
diff --git a/files/ru/web/manifest/lang/index.html b/files/ru/web/manifest/lang/index.html
new file mode 100644
index 0000000000..bc0fecb593
--- /dev/null
+++ b/files/ru/web/manifest/lang/index.html
@@ -0,0 +1,73 @@
+---
+title: lang
+slug: Web/Manifest/lang
+tags:
+ - Manifest
+ - Web
+ - lang
+translation_of: Web/Manifest/lang
+---
+<div>{{QuickLinksWithSubpages('/ru/docs/Web/Manifest')}}</div>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">Type</th>
+ <td><code>String</code></td>
+ </tr>
+ <tr>
+ <th scope="row">Mandatory</th>
+ <td>No</td>
+ </tr>
+ <tr>
+ <th scope="row">Example</th>
+ <td>
+ <pre class="brush: json no-line-numbers">
+"lang": "en-US"</pre>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<p><dfn><code>lang</code></dfn> является строкой, содержащей единственный <a href="../HTML/Global_attributes/lang">языковой тег</a>. Он определяет основной язык для значений направленных свойств манифеста, и вместе с <code><a href="./dir">dir</a></code> определяет их направленность.</p>
+
+<h2 id="Пример">Пример</h2>
+
+<pre class="brush: json" dir="rtl">"lang": "en-US"</pre>
+
+<h2 id="Specification">Specification</h2>
+
+<table>
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ <th scope="col">Feedback</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <p>{{SpecName('Manifest', '#lang-member', 'lang')}}</p>
+ </td>
+ <td>
+ <p>{{Spec2('Manifest')}}</p>
+ </td>
+ <td>
+ <p>Initial definition.</p>
+ </td>
+ <td>
+ <p><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<div class="hidden">
+<p>The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+</div>
+
+<p>{{Compat("html.manifest.lang")}}</p>