• Resolved arskrigitsioniets

    (@arskrigitsioniets)


    The problem is that there is no possibility to translate rating words. In Russian, I have the word “Оценить” that displays both on comment form and on-page. But it’s incorrect in Russian to display “Оценить” on the page. There should be something like “Оценить” (verb, = to rate) on comment form и “Оценка” (noun, = overall rating) on the page. I even couldn’t find that string in Loco Translate.

    And I think there should be a possibility to change “/” in Оценка: 5/1 to something other. It’s difficult to understand that the second number stands out the overall number of voters. There should be something like Rating: 10, 5 voters or other.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter arskrigitsioniets

    (@arskrigitsioniets)

    I’ve already discovered that I can enter that name (Оценить) in settings of form)) But the main meaning that there should be two different words for “to rate” in comments and “rating” on the page. Because if in English it can be one word but in Russian, we need a verb and noun in those cases. And numbers like 5/3 should be more understandable I think.

    Plugin Support gVectors Support

    (@gvectorssupport)

    Hi @arskrigitsioniets,

    As a temporary solution please add the following js codes in your active theme js files.

    jQuery(".wpdiscuz-stars-label").html("Оценка" + jQuery(".wpdiscuz-stars-label").text().substr(jQuery(".wpdiscuz-stars-label").text().indexOf(' ')));
    
    jQuery(".wpd-cf-label").html("Оценка :");

    In the near future release, you’ll be able to find and translate the “Rating” phrase on the page content.

    And I think there should be a possibility to change “/” in Оценка: 5/1 to something other. It’s difficult to understand that the second number stands out the overall number of voters. There should be something like Rating: 10, 5 voters or other.

    The following js code will replace the “/” symbol with “,”.

    jQuery(".wpdiscuz-stars-label").html("Оценка" + jQuery(".wpdiscuz-stars-label").text().substr(jQuery(".wpdiscuz-stars-label").text().indexOf(' ')).replace(' /', ','));

    Thread Starter arskrigitsioniets

    (@arskrigitsioniets)

    Where can I find js files?

    Plugin Support gVectors Support

    (@gvectorssupport)

    Hi @arskrigitsioniets,

    Please follow this instruction. Here is described three options on how to add a js file or js code in the active theme: https://www.wpbeginner.com/wp-tutorials/how-to-easily-add-javascript-in-wordpress-pages-or-posts/

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