• I’m trying to figure out how to change the button Read More into a German text displaying. I saw there is already a de_DE.mo and .po file where there would be the correct translation of Read More. But how to activate that?
    I am using generatepress theme. I tried giving the de_DE.po the name generatepress.po and the de_DE.mo file the generatepress.mo name but there’s no change.

    Any help highly appreciated

    brainyc

    https://wordpress.org/plugins/content-views-query-and-display-post-page/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter brainyc

    (@brainyc)

    hi there, found the place

    it’s the line:

    $text = apply_filters( PT_CV_PREFIX_ . ‘field_content_readmore_text’, __( ‘Mehr …’, PT_CV_DOMAIN ), $fargs[‘content’] );

    simply changed to Mehr…
    in the file wp-content\plugins\content-views-query-and-display-post-page\includes\html.php

    but what about the .mo and .po files?
    there is the correct translation. How can I activate that?

    Thank you in advance
    brainyc

    Plugin Author Content Views

    (@pt-guy)

    Hi,
    you shouldn’t “hardcode” change. because that change will be overridden in next update.

    you should rename these files to content-views.mo, content-views.po
    then copy them to this folder wp-content/languages/content-views/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Read More translate into German how to’ is closed to new replies.