Jump to content

Count and summarize pages in multiple languages

Recommended Posts

Say I have a blog with 50 blog posts in Norwegian, and 10 of them are also translated into English. How do I use $pages->count() (or another method) to count them and show the total in a template file?

I have only gotten as far as getting the number 50 when viewing the Norwegian version, and the number 10 when viewing the English version of the page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...