[theme-reviewers] Translation-ready themes
Ulrich Pogson
grapplerulrich at gmail.com
Tue Jun 24 13:44:23 UTC 2014
The template file should be `theme-slug.pot`. The `theme-slug.mo` is
useless and not needed.
You can read up here on how to generate the POT files.
https://make.wordpress.org/docs/theme-developer-handbook/theme-functionality/localization/
@Edward - Interesting that you changed your view. A few months ago you
thought that the POT file should not be compulsory.
PSA - Generate your own mo files when receiving a translation as the mo
file could contain different strings to the po file. The po file is human
readable but the mo file is not.
On 24 June 2014 15:20, Chip Bennett <chip at chipbennett.net> wrote:
> I've never included a .POT file; I've only ever included POMO files?
>
>
> On Tue, Jun 24, 2014 at 8:06 AM, Justin Tadlock <justin at justintadlock.com>
> wrote:
>
>> I think it would be preferable to have a POT file. It should be named
>> `theme-name.pot`.
>>
>>
>> On Tue, Jun 24, 2014 at 7:59 AM, Chip Bennett <chip at chipbennett.net>
>> wrote:
>>
>>> IIRC, translation-ready requires proper implementation of translation
>>> strings, proper theme declaration of translation, and inclusion of a .po
>>> file.
>>>
>>>
>>> On Tue, Jun 24, 2014 at 7:54 AM, Jose Castaneda <jomcastaneda at gmail.com>
>>> wrote:
>>>
>>>> I was wondering that the other day too. I feel that is should have
>>>> either a .po or .pot file
>>>>
>>>>
>>>> On Tue, Jun 24, 2014 at 5:33 AM, esmi at quirm dot net <esmi at quirm.net>
>>>> wrote:
>>>>
>>>>> If a theme is tagged as "translation-ready", shouldn't it include a
>>>>> default .po file? Just been dealing with a support request regarding <
>>>>> https://wordpress.org/themes/serene/> and languages. The theme is
>>>>> tagged as "translation-ready" and functions.php appears to point to a
>>>>> /languages folder but there is no such folder in the theme.
>>>>>
>>>>> What would the requirements actually be in such a case?
>>>>>
>>>>> Mel
>>>>> --
>>>>> http://quirm.net
>>>>> http://blackwidows.co.uk
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140624/3c937567/attachment-0001.html>
More information about the theme-reviewers
mailing list