lang: en_US ...">

What is lang: en-US for Share to LinkedIn JavaScript

<script src="//platform.linkedin.com/in.js" type="text/javascript">
  lang: en_US
</script>
<script type="IN/Share" data-counter="right"></script>

Here is the code I got from http://developer.linkedin.com/plugins/share-plugin-generator

What is lang: en_USfor? I have never seen this use of JavaScript (or the .js link quote) before.

+4
source share
2 answers

lang: fr_FR used for Specify to label your share button.

From API reference

The content inside the script tag is provided as a template (see "Templates").


, , JS HTML script. .

+3

JavaScript label, , , , , , , ( break continue). MDN, . , , , , , , , .

+1

All Articles