Multilingual text in functions.php
-
Hi,
I’d like to translate hard coded text in functions.php fileThis is the code in functions.php:
https://gist.github.com/anonymous/115f6baab37b0db5dddfI have changed the following code line:
<div class="box-tipo"><div class="box-campo">Disegni: </div><div class="box-risultato"><ul class="box-voci">with this:
<div class="box-tipo"><div class="box-campo"><?php echo _e( 'Disegni','customizr-child'); ?>:</div><div class="box-risultato"><ul class="box-voci">then in the .po english file, I added the following code line:
#: customizr-child/functions.php:769 msgid "Disegni" msgstr "Drawings"Where did I go wrong?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Multilingual text in functions.php’ is closed to new replies.
