Issues with translating the labels in the options panel

[ad_1]

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/xSDHSSRiI7Xl

Thank you

Daniel

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer