语言函数
下表列出了语言函数:
函数 | 返回值 |
|---|---|
CurrentLanguage () | 当前运行时语言的 RFC1766 代码。 |
CurrentLanguage
函数的表达式激活时,例如,当包含表达式的 Display
打开时,则会对表达式求值。当发生语言切换时也会对其求值。RFC1766 代码为语言用标识符。其格式为 <
languagecode2
>-<country
/regioncode2
>,其中 <languagecode2
> 为小写的两个字母长度的代码,<country
/regioncode2
> 为大写的两个字母长度的代码。例如,美国英语的 RFC1766 代码是 en-US
。提供反馈