⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 label_language.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 07dec2004}{...}
{cmd:help label language}{right:dialog:  {bf:{dialog label_language:label language}}}
{hline}

{title:Title}

{p2colset 5 27 29 2}{...}
{p2col :{hi:[D] label language} {hline 2}}Labels for variables and values in
multiple languages{p_end}
{p2colreset}{...}


{title:Syntax}

{phang}List defined languages

{p 8 15 2}
{opt la:bel} {opt lang:uage}

{phang}Change labels to specified language name

{p 8 15 2}
{opt la:bel} {opt lang:uage} {it:languagename}

{phang}Create new set of labels with specified language name

{p 8 15 2}
{opt la:bel} {opt lang:uage} {it:languagename}{cmd:,} {...}
{cmd:new} [{cmd:copy}]

{phang}Rename current label set

{p 8 15 2}
{opt la:bel} {opt lang:uage} {it:languagename}{cmd:,} {opt ren:ame}

{phang}Delete specified label set

{p 8 15 2}
{opt la:bel} {opt lang:uage} {it:languagename}{cmd:,} {cmd:delete}


{title:Description}

{pstd}
{cmd:label} {cmd:language} lets you create and use datasets that contain
different sets of data, variable, and value labels.  A dataset might contain
one set in English, another in German, and a third in Spanish.  A dataset may
contain up to 100 sets of labels.

{pstd}
We will write about the different sets as if they reflect different spoken
languages, but you need not use the multiple sets in this way.  You could
create a dataset with one set of long labels and another set of shorter ones.

{pstd}
One set of labels is in use at any instant, but a dataset may contain
multiple sets.  You choose among the sets by typing

{phang2}. {cmd:label language} {it:languagename}

{pstd}
When other Stata commands produce output (such as {helpb describe},
{helpb tabulate}, etc.), they use the currently set language.  When you
define or modify the labels using the other {cmd:label} commands (see 
{helpb label}), you modify the current set.

{phang2}
{cmd:label} {cmd:language} (without arguments){break}
    lists the available languages and the name of the current one.  The
    current language refers to the labels you will see if you used, say,
    {cmd:describe} or {cmd:tabulate}.  The available languages refer to the
    names of other sets of previously created labels.  For instance, you might
    currently be using the labels in {cmd:en} (English), but labels in
    {cmd:de} (German) and {cmd:es} (Spanish) may also be available.

{phang2}
{cmd:label} {cmd:language} {it:languagename}{break}
     changes the labels to those of the specified language.  For instance, if
     {cmd:label} {cmd:language} revealed that {cmd:en}, {cmd:de}, and {cmd:es}
     were available, typing {cmd:label language de} would change the current
     language to {cmd:de}.

{phang2}
{cmd:label} {cmd:language} {it:languagename}{cmd:,} {cmd:new}{break}
     allows you to create a new set of labels and collectively name them
     {it:languagename}.  You may name the set as you please, as long as the
     name does not exceed 24 characters.  If the labels correspond to spoken
     languages, we recommend that you use the language's ISO 639-1 two-letter
     code, such as {cmd:en} for English, {cmd:de} for German, {cmd:es} for
     Spanish, etc.  For a complete list of codes, see
     {browse "http://lcweb.loc.gov/standards/iso639-2/iso639jac.html"}.

{phang2}
{cmd:label} {cmd:language} {it:languagename}{cmd:,} {cmd:rename}{break}
    changes the name of the label set currently in use.  If the label set in
    use were named {cmd:default} and you now wanted to change that to
    {cmd:en}, you could type {cmd:label} {cmd:language} {cmd:en,}
    {cmd:rename}.

{pmore2}
    Our choice of the name {cmd:default} in the example was not accidental.
    If you have not yet used {cmd:label} {cmd:language} to create a new
    language, the dataset will have one language, named {cmd:default}.

{phang2}
{cmd:label} {cmd:language} {it:languagename}{cmd:,} {cmd:delete}{break}
    deletes the specified label set.  If {it:languagename} is also the current
    language, one of the other available languages becomes the current
    language.


{title:Option}

{phang}
{opt copy} is used with {cmd:label language, new} and copies the labels from
the current language to the new language.


{title:Examples}

{phang}{cmd:. label language en, rename}

{phang}{cmd:. label language de, new}

{phang}{cmd:. label language German, rename}

{phang}{cmd:. label language de, delete}


{title:Also see}

{psee}
Manual:  {bf:[D] label language} 

{psee}
Online:  {helpb codebook},
{helpb label},
{helpb labelbook}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -