2020-05-02 / 4361阅 / 悠然
加载脚本翻译的字符串。
Top ↑
(string)
(Required)
Name of the script to register a translation domain to.
(string)
(Optional)
Text domain.
Default value: 'default'
(string)
(Optional)
The full file path to the directory containing translation files.
Default value: null
(string|false) False if the script textdomain could not be loaded, the translated strings in JSON encoding otherwise.