• Resolved nd62

    (@nd62)


    Hi

    i have uploaded “ar_TN.php” to “wp-content/languages/plugins” but still no changes in front end WordPress Popular Posts.

    please note that i am using “child theme” in my site.

    what seems to be the problem?

    thanks

    • This topic was modified 6 years, 2 months ago by nd62.
    • This topic was modified 6 years, 2 months ago by nd62.
Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter nd62

    (@nd62)

    Hi

    the dates now working.

    only “posted on” did not get translated

    Plugin Author Hector Cabrera

    (@hcabrera)

    the dates now working.

    Great!

    only “posted on” did not get translated

    For this one please follow these instructions.

    Thread Starter nd62

    (@nd62)

    posted on now working by creating:

    /wp-content/languages/plugins/wordpress-popular-posts-ar.mo
    /wp-content/languages/plugins/wordpress-popular-posts-ar.po

    • This reply was modified 6 years, 2 months ago by nd62.
    Thread Starter nd62

    (@nd62)

    Hi

    in which file/path i can find:

    <span class=”wpp-meta post-stats”><span class=”wpp-date”>تاريخ النشر: نوفمبر 21, 2015</span></span>

    i need to make “posted on” bold

    only “posted on” not the whole date

    alternative, if u can make it in next updates

    • This reply was modified 6 years, 2 months ago by nd62.
    • This reply was modified 6 years, 2 months ago by nd62.
    Thread Starter nd62

    (@nd62)

    sorry, i made a mistake

    currently, the whole date meta is bold

    if we make “normal” all goes normal where only “posted on” needs to be bold

    so, i guess if you can give only “posted on” a different class name this way much easier to edit the css

    hope you can do that in next updates

    Plugin Author Hector Cabrera

    (@hcabrera)

    That requires editing the HTML output of the plugin so you can make the “posted on” part bold. Check the second suggestion from the link I shared before, that’s what you’re looking for.

    Thread Starter nd62

    (@nd62)

    it is getting a bit complicated

    “HTML output” where i can find it?

    Plugin Author Hector Cabrera

    (@hcabrera)

    That depends. If you’re using the WordPress Popular Posts widget, go to Appearance > Widgets, find the WordPress Popular Posts widget on your sidebar. You’ll see the options there.

    Thread Starter nd62

    (@nd62)

    Hi

    some translation strings not working on front end

    – Sorry. No data so far. works fine

    – posted on %s working fine

    – by %s working fine

    however, views not working at all:

    – %s views

    Zero %s لا يوجد مشاهدات

    One %s مشاهدة

    Two %s مشاهدات

    n – 3, 4, 5, 6……. %s مشاهدات

    n – 11, 12, 13, 14…. %s مشاهدات

    n – 100, 101, 102, 200… %s مشاهدات

    • This reply was modified 6 years, 2 months ago by nd62.
    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @nd62,

    You’ll need to translate these texts the same way you translated the “posted on” text.

    Here’s the link to the related FAQ in case you need again it for reference.

    Thread Starter nd62

    (@nd62)

    Hi

    i did but they not working same the other ones that i have translated

    here we go:
    One %s مشاهدة

    Two %s مشاهدات

    n – 3, 4, 5, 6……. %s مشاهدات

    n – 11, 12, 13, 14…. %s مشاهدات

    n – 100, 101, 102, 200… %s

    • This reply was modified 6 years, 2 months ago by nd62.
    Plugin Author Hector Cabrera

    (@hcabrera)

    Note that these issues you’re having with dynamic texts are likely related to either bad configuration of the translation files or that you didn’t translate these strings.

    If it’s the former (invalid config of the .po/.mo files) I’m afraid I won’t be of much help as I’m not familiar with the Arabic language nor its rules and so you may want to try asking on the Miscellaneous forum and see if someone there can help you check the configuration of your translation files.

    Thread Starter nd62

    (@nd62)

    Hi

    the files are fine and other translation strings working fine

    Plugin Author Hector Cabrera

    (@hcabrera)

    Yes, but I’m talking about the way your .po/.mo files handle dynamic texts with numbers. Each language has a specific way to handle singular/plural items and this has to be configured in your translation files. That’s something I cannot help you with as I’m not familiar with the Arabic language. Please ask in the Miscellaneous support forum, surely someone more familiar with this topic will help you out.

    Thread Starter nd62

    (@nd62)

    after some attempts i was able to make it works

Viewing 15 replies - 16 through 30 (of 30 total)

The topic ‘WordPress Popular Posts Translations’ is closed to new replies.