[theme-reviewers] Some questions about theme translation
edward.caissie at gmail.com
Wed Nov 16 14:59:36 UTC 2011
Although I may not be well versed in i18n implementation, the correct
method for a theme in the repository to support it is to have all text
strings visible to the end-user be translatable via the theme's language
files thus requiring the textdomain to be included with each instance where
an i18n function is used ... even if the code is directly copied and pasted
One cannot assume the text strings being translated will always be
available as expected if they are not included with the Theme itself. As
with the examples of using the `twentyten` or `twentyeleven` domains, the
theme author cannot expect they will always be available as it is possible
some end-users may choose to remove all themes except for their active one.
On Wed, Nov 16, 2011 at 9:46 AM, Rick Anderson <rick at byobwebsite.com> wrote:
> I'm interested in this as well. I recently reviewed a theme that had some
> missing text domains, some were using twentyten and others were using
> twentyeleven. I read the section where themes are "required" to provide
> their theme slug as the text domain.
> On Tue, Nov 15, 2011 at 11:09 PM, Justice <justice360 at gmail.com> wrote:
>> Hi all,
>> I reused some WordPress core code for AJAX support in my theme so there
>> are some missing text domains when outputing traslatable strings. One
>> reviewer told me that it is required to provide translation in my own
>> language pack for all translatable strings appear in my theme. Actually I
>> left that blank by intention because I'd like to use the same wording as
>> the core language packs of WordPress, eg. Name, Email, Error: please type a
>> comment, etc.
>> Can anybody tell me why themes can't share the core language pack?
>> Thanks for hard working!
>> Best regards
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
> *Rick Anderson*
> *WordPress Trainer/Web Developer*
> 935 Daley Street
> Edmonds, WA 98020
> (206) 801-5209
> Skype - tailoringtheweb
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers