1
我在我的德国网站上使用Canvas主题与woocommerce商店。 但是我有这个问题,我的产品分页仍然使用“上一页”和“下一页”作为按钮文本,即使所有内容都翻译成德文。Wordpress Woocommerce单页语言分页错误按钮文本(帆布主题)
画布主题使用一个管理员的functions.php与下面的代码:
$defaults = array(
'base' => esc_url_raw(add_query_arg('paged', '%#%')),
'format' => '',
'total' => $max_num_pages,
'current' => $current,
'prev_next' => true,
'prev_text' => __('← Previous', 'woothemes'), // Translate in WordPress. This is the default.
'next_text' => __('Next →', 'woothemes'), // Translate in WordPress. This is the default.
'show_all' => false,
'end_size' => 1,
'mid_size' => 1,
'add_fragment' => '',
'type' => 'plain',
'before' => '<div class="pagination woo-pagination">', // Begin woo_pagination() arguments.
'after' => '</div>',
'echo' => true,
'use_search_permastruct' => true
);
/* Allow themes/plugins to filter the default arguments. */
$defaults = apply_filters('woo_pagination_args_defaults', $defaults);
我既不能覆盖这个(注释说,不反正覆盖),也没有发现在我的网页的后端选项翻译这个。
在哪里或如何更改这些按钮上的文本? 谢谢。