[theme-reviewers] Is this the best solution to translate a template name in WordPress
Zen Oven
zenoven at gmail.com
Wed Aug 28 15:35:19 UTC 2013
I thougt I don't need to translate the template name before but you know
that many users don't know what can they do with these template and some
users even don't know English
2013/8/28 Zen Oven <zenoven at gmail.com>
> 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.
>
> <?php
> /**
> Template Name: string_I_want_to_translate
> */
> ?>
>
>
>
>
> 2013/8/28 Jasper Kips <jasper at planetkips.nl>
>
>> Hi,
>> Why would you want to translate the template name? You don't want to
>> translate your own, so why the template name.
>>
>>
>> Sincerely,
>>
>> Jasper Kips
>>
>>
>> Op 28 aug. 2013, om 17:17 heeft Zen Oven <zenoven at gmail.com> het
>> volgende geschreven:
>>
>> Hi,
>>
>> 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.
>>
>> I found this on stackoverflow >>
>> http://stackoverflow.com/questions/13561410/how-to-translate-a-wordpress-template-name
>>
>> Is this the best solution ?
>>
>> Thanks.
>>
>> --
>> Regards,
>> Zenoven , twitter @zenoven <https://twitter.com/zenoven> / website
>> http://www.zenoven.com
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>
>
> --
> Regards,
> Zenoven , twitter @zenoven <https://twitter.com/zenoven> / website
> http://www.zenoven.com
>
--
Regards,
Zenoven , twitter @zenoven <https://twitter.com/zenoven> / website
http://www.zenoven.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130828/1d2bb17a/attachment.html>
More information about the theme-reviewers
mailing list