Translating only Template Name
-
Hello,
I’m trying to use your plugin Loco Translate on my website to translate my theme.
When I want a string to be translatable, I’m using this :
<?php echo __('Hello'); ?>
My problem is that when I try to translate my theme with Loco Translate 2.0.10, the pluggin only scans my “template name” strings and nothing else…
All these lines are translatable :/* Template Name: Categories */
Here is my XML config :
<?xml version="1.0" encoding="utf-8"?> <bundle> <domain name="bpo"> <project> <source> <directory base="WP_CONTENT_DIR">themes/morasel-child/</directory> </source> <target> <directory base="WP_CONTENT_DIR">themes/morasel-child/languages/</directory> </target> </project> </domain> </bundle>
What do I miss ?
Could you help me plz ?
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Translating only Template Name’ is closed to new replies.