#22016 closed defect (bug) (fixed)
Twenty Twelve .pot file and localization
Reported by: | pavelevap | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
1) Theme tags are in .pot file even if not visible. See https://make.wordpress.org/polyglots/2012/09/24/should-theme-tags-be-translated/ We should remove them from .pot file (and also for older themes).
2) Page Templates are not available for translation in .pot file. Probably makepot.php is not ready for Twenty Twelve because everything works well for older themes (for example Twenty Eleven).
3) There are 3 similar strings:
- Sorry, but nothing matched your search criteria. Please try again with some different keywords.
- Apologies, but no results were found. Perhaps searching will help find a related post.
- Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.
Maybe they can be reduced?
Change History (10)
#4
@
12 years ago
- is done, the search string should stay the same but the other two are merged now.
For 1 and 2 I'll defer to the core i18n team for how to fix. They should probably be split out into 2 separate tickets from this one.
#6
@
12 years ago
Page templates are left out because makepot.php (more accurately, pot-ext-meta.php) doesn't look in subdirectories. I'll get that fixed.
I'll get tags removed.
#8
follow-up:
↓ 9
@
12 years ago
Nice, thank you. Translators are satisfied :-)
I localized the whole theme and did not notice any other problem.
I only realized that removing Theme Tags from older WP branches is probably not the best idea, because in older WP versions these Tags were visible and localized... But nevermind, users should update...
#9
in reply to:
↑ 8
@
12 years ago
Replying to pavelevap:
Nice, thank you. Translators are satisfied :-)
I localized the whole theme and did not notice any other problem.
I only realized that removing Theme Tags from older WP branches is probably not the best idea, because in older WP versions these Tags were visible and localized... But nevermind, users should update...
Visible, but never localized. Theme headers weren't localized until WP_Theme in 3.4.
In [22061]: