I have managed to localize my clients site from Spanish to French:
<a href="http://www.microcementoeuropeo.com" rel="nofollow">http://www.microcementoeuropeo.com</a>
...using a combination of the WPML plugin and the Gettext framework. The only thing i have been unsuccessful translating are the labels on the contact form itslef:
...so the text i'm trying to translate would be "Nombre" - to the French.
I've tried the gettext methods that worked for other hard-coded areas:
...but this does not work.
(i´m adding these into wordpress through admin and not directly to the .php file).
I'm familiar with creating .po / .mo files and know how to localize normal hard-coded text - but contact form 7 has me baffled.
Any suggestions appreciated.
<a href="http://www.microcementoeuropeo.com" rel="nofollow">http://www.microcementoeuropeo.com</a>
...using a combination of the WPML plugin and the Gettext framework. The only thing i have been unsuccessful translating are the labels on the contact form itslef:
Code:
<p>Nombre<br />
<span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" class="wpcf7-text wpcf7-validates-as-required" size="40" /></span> </p>
<p>Email<br />
<span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" class="wpcf7-text wpcf7-validates-as-email wpcf7-validates-as-required" size="40" /></span> </p>
<p>Teléfono<br />
...so the text i'm trying to translate would be "Nombre" - to the French.
I've tried the gettext methods that worked for other hard-coded areas:
Code:
<p><?php _e('Nombre', theme_domain);?><br />
<p><?php __('Nombre', theme_domain);?><br />
...but this does not work.
(i´m adding these into wordpress through admin and not directly to the .php file).
I'm familiar with creating .po / .mo files and know how to localize normal hard-coded text - but contact form 7 has me baffled.
Any suggestions appreciated.