[theme-reviewers] Is this the best solution to translate a template name in WordPress
Peter Kakoma
kakomap at gmail.com
Wed Aug 28 15:24:09 UTC 2013
Hi Zen,
The solution described there ought to work (as the comments suggest) but I
don't think there's need to translate template names. Leave them as is. I
stand corrected
On Wed, Aug 28, 2013 at 6:18 PM, Jasper Kips <jasper at planetkips.nl> wrote:
> 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
>
>
--
http://kakoma.ug
www.urbanlegendkampala.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130828/c01895c3/attachment-0001.html>
More information about the theme-reviewers
mailing list