Translations issue

This topic contains 7 replies, has 3 voices, and was last updated by  Giri 9 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #49367

    Martin Omaga
    Expired Member
    Post count: 121

    Hi.

    I installed the portuguese language pack and its working.

    But even so, I realized that some text is not translated, for example in the Leave a Review.

    I found out that in the review.php for example, there is:

    comment_form(array(‘title_reply’ => __(‘Leave a Comment’, GEODIRECTORY_FRAMEWORK), ‘label_submit’ => __(‘Post Comment’, GEODIRECTORY_FRAMEWORK), ‘comment_field’ => ‘<p class=”comment-form-comment”><label for=”comment”>’ . __(‘Comment text’, GEODIRECTORY_FRAMEWORK) . ‘</label><textarea id=”comment” name=”comment” cols=”45″ rows=”8″ aria-required=”true”></textarea></p>’, ‘must_log_in’ => ‘<p class=”must-log-in”>’ . sprintf(__(‘You must be logged in to post a comment.’,

    My question is:

    Is this text (i.e: ‘Leave a Comment’) linked to the translation file?

    Or should we translate it directly in the code?

    Thanks,

    Martin

    #49368

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #49371

    Martin Omaga
    Expired Member
    Post count: 121

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #49372

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #49373

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #49380

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #49700

    Martin Omaga
    Expired Member
    Post count: 121

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #49701

    Giri
    Expired Member
    Post count: 3155

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount