• Resolved mamedia

    (@mamedia)


    Hello,

    I’m wondering if WordPress Popular Posts creates statistics per language when using with WPML. Posts that are popular in one language might not be so relevant in another language – so having separate statistics per language would be a smart thing.
    However it seems to me that this is not the case, am I right?

    Also I’ve noticed that the content tag {date} outputs always the date of the original post and not the date of the translated post. As a work around I created a custom tag that just uses the get_post_time function to output the date. Just wanted to let you know…

    Thanks,
    Andreas

Viewing 1 replies (of 1 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @mamedia,

    I’m wondering if WordPress Popular Posts creates statistics per language when using with WPML (…) However it seems to me that this is not the case, am I right?

    Correct, it isn’t.

    WordPress Popular Posts’ current multilingual support implementation works like this:

    1. Every post / page / CPT must have its own translation (as hinted on the Description page), and
    2. The plugin considers posts and their translations as a single entity, hence the reason why there are no separate statistics.

    Since you may ask, no, separating views data isn’t a simple task and it’s not something being considered at this point in time.

    About the date stuff, that’s the expected behavior for the use case explained above. You normally wouldn’t post, for example, a new article today and then its translation a month later.

Viewing 1 replies (of 1 total)

The topic ‘WPML separate statistics per language’ is closed to new replies.