- This topic has 2 replies, 2 voices, and was last updated 6 years, 8 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
You must be logged in to reply to this topic.
We will do our best to assist you with any issues related to our themes.
Home › Forums › Themes Support › Ethan – Responsive WooCommerce WordPress Theme › Woocommerce templates are nor translatable
Response time can be up to 1-2 business days. Please search the forum might be helpful and look at our forum page for known issues.
Home › Forums › Themes Support › Ethan – Responsive WooCommerce WordPress Theme › Woocommerce templates are nor translatable
The woocommerce template files are declared mit “ethan” text domain but they are not stored in language file of the theme. Please update the .pot file to make the translation easy, without writing code or usage of an third plugin.
Okay, some woocommerce text is included in the .pot file, my fault – but not all, for example “update cart”.
Next issue:
its not possible to do the translation in the child theme language folder. i renamed .po and .mo file, i tried to load the text file out of WP language folder, i wrote a textdomain function and a added “Domain Path: /languages” in the child theme css. Nothing worked…
THE CHILD THEME FUNCTION:
function my_child_theme_setup() {
load_child_theme_textdomain( ‘my-child-theme’, get_stylesheet_directory() . ‘/languages’ );
}
add_action( ‘after_setup_theme’, ‘my_child_theme_setup’ );
You must be logged in to reply to this topic.