Change html strings for php functions for translation
-
The plugin needs all the php functions for the translation, example:
<?php echo __('Button Text Color', 'ninjateam-whatsapp') ?>
and not html strings like:
<p class="description">Button Text Color.</p>
A real example of code that is not good to translate is:
<p class="description">You can use shortcode [njwa_time_work] to display the exact time this account is back to work on a working day.</p>
<p class="description">You can use this text to display on days this account does not work.</p>
A greeting.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change html strings for php functions for translation’ is closed to new replies.