This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to translate the Porto theme product filters to Bulgarian, specifically the 'by size' and 'by color' filters, and you want to correct the translation of the word 'by' which was incorrectly translated to 'по'.
Solution:We have a workaround.
Edit .../wp-content/plugins/porto-functionality/shortcodes/woo_templates/porto_products_filter.php file.
Look for line 192.
Replace:
echo '<select class="porto_dropdown_product_attributes" name="filter_' . esc_attr( $area ) . '">';</select>
With:
if (class_exists('SitePress')) { do_action('wpml_register_single_string', 'porto', 'porto_filter[' . $area . ']', $area); $area = apply_filters('wpml_translate_single_string', $$area, 'porto', 'porto_filter[' . $area . ']'); } echo '<select class="porto_dropdown_product_attributes" name="filter_' . esc_attr( $area ) . '">'; </select>
Visit the front-end.
Go to WPML > String Translation and translate the new strings.
To correct the translation of the word 'by', you can adjust it directly in the WPML String Translation interface. Access it via this link: WPML String Translation.
Please note that this solution might be outdated or not applicable to your specific case. If these steps do not resolve your issue, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.