showCommentsUI customLang parameter JS

Skip to end of metadata
Go to start of metadata

 

The customLang parameter allows you to set custom text in the Comments and Ratings and Reviews plugin. The object is made up of key/value pairs - the key represents a text element in the UI and the value represents the text to be used in place of the default value.

The following table lists the keys available for use with the customLang parameter. Refer to showCommentsUI for more information regarding additional parameters.

KeyValue
_new_comments_will_be_sent_directly_to_your_email_inbox. 
_new_reviews_will_be_sent_directly_to_your_email_inbox 
1_comment_was_recently_added 
1_new_comment_was_recently_posted 
1_new_review_was_recently_posted 
1_review_was_recently_added 
an_error_has_occurred_please_try_again_later%errorCode
are_you_sure_you_want_to_mark_this_comment_as_inappropriate 
are_you_sure_you_want_to_mark_this_review_as_inappropriate 
are_you_sure_you_want_to_permanently_delete_your_comment_qm 
are_you_sure_you_want_to_permanently_delete_your_review_qm 
as_guest 
cancel 
change 
click_to_show 
comment 
comment_edited_by_a_moderator 
comment_on_username_review %username
commented_on_colon_pagetitle 
delete 
delete_comment 
delete_review 
email 
email_not_displayed_publicly 
email_optional 
enter_your_email_to_receive_notifications_when_someone_comments_on_your_reviews_colon 
enter_your_email_to_receive_notifications_when_someone_replies_to_your_comments_colon 
enter_your_email_to_subscribe_to_new_comments_in_this_stream_colon 
enter_your_email_to_subscribe_to_new_reviews_in_this_stream_colon 
follow 
follow_my_comments 
follow_my_reviews 
follow_replies_to_my_comments 
follow_replies_to_my_reviews 
following 
guest 
hello_username%username
i_dont_like_it 
i_hate_it 
i_like_it 
i_love_it 
i_rated_pagetitle_as_rating_5 
its_ok 
least_voted 
less_than_a_minute_ago 
login 
login_to_comment 
login_to_post_your_review 
login_to_review 
logout 
more 
more_share_destinations 
most_recent 
most_relevant 
most_voted 
my_rating_colon 
my_review_on_colon_pagetitle 
new 
new_comments_will_be_sent_directly_to_your_email_inbox 
new_to_old 
nickname 
nickname_should_be_at_least_3_characters 
no 
notifications_settings 
notify_me_when_someone_comments_on_my_review 
notify_me_when_someone_replies_to_my_comments 
num_comments %num
num_comments_were_recently_added%num
num_days_ago %num
num_hours_ago %num
num_minutes_ago %num
num_new_comments_were_recently_posted %num
num_new_reviews_were_recently_posted %num
num_replies %num
num_reviews%num
num_reviews_were_recently_added%num
ok 
old_to_new 
oldest 
one_comment 
one_day_ago 
one_hour_ago 
one_minute_ago 
one_reply 
one_review 
only_one_review_per_product_is_allowed 
or 
overall_rating 
pause_stream 
please_fill_required_fields 
please_login 
please_provide_a_valid_email_address 
please_select_your_rating 
post 
post_a_new_comment 
post_to_provider%provider
post_your_review 
rated_pagetitle 
ratings 
reply 
reply_to_username%username
report_comment_to_site_owner 
report_review_to_site_owner 
resume_stream 
review 
review_colon 
review_edited_by_a_moderator 
rss 
share 
share_colon 
share_to 
share_to_provider%provider
show_more 
show_more_comments 
show_more_ratings 
show_more_reviews 
sort 
subscribe 
summary 
summary_colon 
thank_you_for_subscribing 
thank_you_for_subscribing 
thank_you_for_subscribing 
unfollow 
unsubscribe 
username_commented_on_pagetitle  %username, %pagetitle
username_posted_a_review_on_pagetitle%username, %pagetitle
username_rated_pagetitle_as_rating_5%username, %pageTitle, %rating
via_provider%provider
write_a_comment 
write_a_review 
yes 
yes_flag_this_comment 
yes_flag_this_review 
you_have_successfully_unsubscribed 
you_have_successfully_unsubscribed_for_updates_in_the_current_discussion 
your_comment_is_awaiting_moderation 
your_review 
your_review_is_awaiting_moderation