Issues with translating the labels in the options panel
-
Hello,
I’ve issues with translating the labels in the options panel in my theme.
1) The text domain is properly loaded with:
load_theme_textdomain( 'chemid', get_template_directory() . '/languages' );
2) admin panel sections and options are coded like this in the config file:
config file:
Redux::set_section(
$opt_name,array(
'title' => esc_html__( 'General Settings', 'chemid' ),
'id' => 'general_setting',
'icon' => 'el el-cogs',
'fields' => array(
array(
'id' => 'chemid-primary-border',
'type' => 'color',
'title' => esc_html__('Borders Color','chemid'),
'subtitle' => esc_html__('Pick a color for borders','chemid'),
'transparent' => false,
'default' => '#efefef',
'output' => array(
'border-color' => '.tmnf_border,.sidebar_item ul li',
)
),
)
)
);3) created and translated .po and .mo files are located in the proper theme ‘language’ folder and with proper names.
4) The ‘Site Language’ is set in Setting > General
The issue is that all theme labels across all theme parts are properly translated except the ones located in the redux config file.
Standard theme labels (translated): https://prnt.sc/SK1OTDh73-eV
Admin panel labels (non-translated): https://prnt.sc/xSDHSSRiI7XlThank you
Daniel
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.