单语言页面的 Wordpress Woocommerce 分页按钮文本错误(Canvas 主题)

Wordpress Woocommerce pagination wrong button text for single-language page (Canvas Theme)

我在我的德国网站上使用 Canvas 主题和 woocommerce 商店。 但是我有一个问题,我的产品分页仍然使用 "previous" 和 "next" 作为按钮文本,即使所有内容都被翻译成德语。

Canvas 主题使用 admin-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 );

我既不能覆盖它(评论说无论如何都不要覆盖),也不能在我的页面后端找到一个选项来翻译它。

在哪里或如何更改这些按钮上的文本? 谢谢。

万一有人遇到这个问题: 我现在使用插件 "Say, what!" 解决了它并用它翻译了字符串。但是,这仅在字符串位于 __() 或 _e() 函数内时有效。