eda_sys_i18n_get_current_language
Gets the current language environment of the active EDA window. Use it to determine the UI language before calling language-dependent APIs.
Instructions
sys_I18n.getCurrentLanguage() -> Promise
获取当前语言环境
remarks: 能够获取到的语言受 EDA 当前支持语言限制,其它 API 支持的语言需要显式指定 language 参数才能使用
returns: 语言
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |