<div dir="ltr"><div>My mistake,I mean how to translate the string " string_I_want_to_translate " as below and this file is a page template which user can choose from the Template list when post a page.</div><div>
<br></div><div><?php</div><div><div>/**</div><div> Template Name: string_I_want_to_translate</div><div> */</div></div><div>?></div><div><br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/28 Jasper Kips <span dir="ltr"><<a href="mailto:jasper@planetkips.nl" target="_blank">jasper@planetkips.nl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div>Why would you want to translate the template name? You don't want to translate your own, so why the template name. </div>
<div><br></div><div><br><div>
Sincerely,<div><br></div><div>Jasper Kips<br><br></div>
</div>
<br><div><div>Op 28 aug. 2013, om 17:17 heeft Zen Oven <<a href="mailto:zenoven@gmail.com" target="_blank">zenoven@gmail.com</a>> het volgende geschreven:</div><br><blockquote type="cite"><div><div class="h5"><div dir="ltr">
Hi,<div><br></div><div>I am a theme author and I know how to translate strings in WordPress with __(), _e and some other PHP functions, but I have no idea how to translate a template name because the template name is written with PHP comment in the header.</div>
<div><br></div><div>I found this on stackoverflow >> <a href="http://stackoverflow.com/questions/13561410/how-to-translate-a-wordpress-template-name" target="_blank">http://stackoverflow.com/questions/13561410/how-to-translate-a-wordpress-template-name</a><br clear="all">
<div><br></div><div>Is this the best solution ?</div><div><br></div><div>Thanks.</div><div><br></div>-- <br><div dir="ltr">Regards,<div>Zenoven , twitter <a href="https://twitter.com/zenoven" target="_blank">@zenoven</a> / website <a href="http://www.zenoven.com/" target="_blank">http://www.zenoven.com</a> </div>
</div>
</div></div></div></div>
_______________________________________________<br>theme-reviewers mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<div>Zenoven , twitter <a href="https://twitter.com/zenoven" target="_blank">@zenoven</a> / website <a href="http://www.zenoven.com" target="_blank">http://www.zenoven.com</a> </div>
</div>
</div>