admin管理员组

文章数量:1291424

I would like to ask if there is a way, a filter or a hook that lets us display the translated strings of the Customizer options.

For example, most WordPress themes provide translation files in the theme (that are in the languages folder) so if we switch the language of WordPress to let's say Spanish and if the files are present for Spanish then the strings appear just fine.

However, we still have to translate the strings or labels that are only found and controlled in Customizer settings. So, I want to find a way to load the strings from the translation files (if present) for the Customizer settings (that matches the string in the translation files).

Thanks

本文标签: Is there a way to load translations from PO and MO files for Customizer strings