• Hi,

    is there a way to change the language?

    After update this will only be displayed in English on my site.

    Example
    “This is post x of x in the series…”

    I already tried to adjust this in the file “wp-post-series.pot” in the folder “languages”, but unfortunately this has no effect.

    Thanks for the help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Hmm these strings can definitely be translated. Translations can be submitted here https://translate.www.ads-software.com/projects/wp-plugins/wp-post-series/, but if this is a specific translation for your site it should be possible to do with a tool such as https://en-gb.www.ads-software.com/plugins/loco-translate/ Does this work for you?

    Thread Starter stefanver

    (@stefanver)

    Hi, Mike,

    thanks for the answer. I checked the page for translations, I found the line at “German” on page 3 (Translation Page) as last point. Someone has already entered a translation here. But it is in the status “Fuzzy”.

    I made a screenshot here: German Translation

    With the Loco Translation Plugin, I could not get any results either.

    I’m getting along with the english one for now, maybe you’ll be able to take this into the next update.

    Thanks a lot

    it isn’t translating for me too. I used Loco translate, but without effect. I than tried to change the .pot directly, but also without succes. Did anyone get it working or do i miss a step?

    Thanks

    You need to make some changes in code plugin to change that.

    Go to plugin/wp-post-series/src – postcontent.php and found this:

    		return sprintf(
    			/* translators: %1$d Post index, %2$d number of posts in series, %3$s series name/link */
    			__( 'This is post %1$d of %2$d in the series <em>&ldquo;%3$s&rdquo;</em>', 'wp-post-series' ),
    			$post_in_series + 1,
    			count( $posts_in_series ),
    			$series_name
    		);
    	}

    There you can change whatever you want

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Language Change’ is closed to new replies.