Theme Localization
I use theme localization in almost all of my themes. Not only does it help translate your theme into multiple languages, it also provides link formatting for things theme makers often write out manually. Itās really easy to miss the localization page, which is linked near the end of the theme docs. Itās a long list, so I wanted to share some of my favorites.
If you use day pages, thereās a really easy way to put the links for them using this localization string:Ā {lang:Posted on DayOfWeek DayOfMonth Month Year 3}Ā
This automatically inserts the text for the day, month, and year of the post as well as making it a link to the day page. (hereās more info on day pages)
You can also use it for displaying content on your search pages with strings like this: {lang:Found SearchResultCount results for SearchQuery}.Ā
Thereās strings for pagination:Ā {lang:Page CurrentPage of TotalPages}
And even some simple strings like: {lang:About} and {lang:Filed Under}
Thereās a lot more strings on the page itself, and this post doesnāt even cover the many variations of some of the strings I listed above.Ā
Hereās the localizing themes page!Ā

















