Change Review Language

This topic contains 1 reply, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #64522

    kstock
    Full Member
    Post count: 39

    Hi,

    I have seen this elsewhere in the forums but it wasn’t quite clear to me.

    I want to rename “Review” or “Reviews” to “Testimonial” or “Testimonials”

    Do I simply edit the language.php file in the geodirectory plugin folder?

    this section?
    //comments.php
    define(‘COMMENTS_TITLE_PLACE’, __(‘Place Your Review’, ‘geodirectory’));
    define(‘COMMENTS_TITLE_BLOG’, __(‘Your Comments’, ‘geodirectory’));
    define(‘RATING_MSG’, __(‘Rate this place by clicking a star below :’, ‘geodirectory’));
    define(‘COMMENT_TEXT’, __(‘Comment’, ‘geodirectory’));
    define(‘REVIEW_TEXT’, __(‘Review’, ‘geodirectory’));
    define(‘COMMENT_TEXT2’, __(‘Comments’, ‘geodirectory’));
    define(‘REVIEW_TEXT2’, __(‘Reviews’, ‘geodirectory’));
    define(‘REVIEW_SUBMIT_BTN’, __(‘Submit Review’, ‘geodirectory’));
    //comments_functions.php
    define(‘OWNER_TEXT’, __(‘Business Owner’, ‘geodirectory’));
    define(‘SITE_ADMIN’, __(‘Site Admin’, ‘geodirectory’));
    define(‘COMMENT_TRACKBACKS’, __(‘Trackbacks For This Post’, ‘geodirectory’));
    define(‘COMMENT_MODERATION’, __(‘Your review is awaiting moderation.’, ‘geodirectory’));
    define(‘COMMENTS_CLOSED’, __(‘Review are closed.’, ‘geodirectory’));
    define(‘COMMENT_REPLY’, __(‘Post Your Review’, ‘geodirectory’));
    define(‘COMMENT_MUSTBE’, __(‘You must be’, ‘geodirectory’));
    define(‘COMMENT_LOGGED_IN’, __(‘logged in’, ‘geodirectory’));
    define(‘COMMENT_POST_REVIEW’, __(‘to post a review.’, ‘geodirectory’));

    #64538

    Paolo
    Site Admin
    Post count: 31206

    HI,

    if you change it that way, next update your edit will get lost.

    Please follow the translation documentation:

    https://wpgeodirectory.com/docs/translate-core/
    https://wpgeodirectory.com/docs/translating-addons/

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket