/
How do I change Testimonials Widget text labels
How do I change Testimonials Widget text labels
The Template Way
See How to change testimonials layout.
The Localization Way
- The default
WPLANG
isen_US
.- Use
en_US.mo
anden_US.po
as the filenames of your localization changes if you’re sticking with US English. de_DE
– Germanen_UK
– UK Englishes_ES
– Spanishfr_FR
– Frenchja_JP.EUC-JP.mo
– Japanese in EUC-JP encodingzh-TW
– Traditional Chinesezh_CN
– Simplified Chinese
- Use
- Create localized
YOUR_WPLANG.mo
andYOUR_WPLANG.po
files fromlanguages/testimonials-widget.pot
.- See Translation Tools of Translating WordPress for help.
- Ensure that
YOUR_WPLANG.mo
andYOUR_WPLANG.po
files contain the correctLanguage:
tag likeLanguage: es_ES
and"Language: es_ES\n"
respectively. - Example: See screenshot 21. “Poedit Catalog properties”
- Create a directory named
languages
inside ofwp-content
. - Put your
YOUR_WPLANG.mo
andYOUR_WPLANG.po
files into yourwp-content/languages
directory. - Set
WPLANG
inwp-config.php
to your chosen language.- See Using Localizations of Translating WordPress for help.
- Ex:
<?php define('WPLANG', 'de_DE'); ?>
Sometimes the above doesn’t work, so…
- Create localized
testimonials-widget-YOUR_WPLANG.mo
andtestimonials-widget-YOUR_WPLANG.po
files fromlanguages/testimonials-widget.pot
. - Put your localized
testimonials-widget-YOUR_WPLANG.mo
andtestimonials-widget-YOUR_WPLANG.po
files into directorywp-content/plugins/testimonials-widget/languages/
. - Set
WPLANG
inwp-config.php
to your chosen language.
When done translating, please send your translation for inclusion with the Testimonials Widget plugin release.
The JavaScript Way
An example for testimonials forms
<script type="text/javascript">// <![CDATA[ jQuery(document).ready(function() { jQuery("#post_title").attr('placeholder', '"Mary" or "Nurse on pediatric floor"'); jQuery(".button-primary").prop('value', 'Thank a Nurse'); }); // ]]></script>
References
Related content
How do I customize my testimonial list and widget output
How do I customize my testimonial list and widget output
More like this
How do I change the ‘Next testimonial…’ text
How do I change the ‘Next testimonial…’ text
More like this
How to change testimonials layout
How to change testimonials layout
More like this
How do I customize my testimonial single output
How do I customize my testimonial single output
More like this
How do you include the actual testimonials for the widget
How do you include the actual testimonials for the widget
More like this
How do I customize the testimonials title links list
How do I customize the testimonials title links list
More like this