[wp-polyglots] searching a tutorial on translating a WP theme

Michel Klijmij michel at klijmij.net
Thu Sep 21 12:02:52 GMT 2006


Op do, 21-09-2006 te 13:18 +0200, schreef Stefano:
> 
> My theme should be designed to offer a short date format (dd/mm/YY)
> and if i use the Wp format that maybe is eset to something long (
> dayname, DD MonthName YYYY) tha layout of my theme could get all
> upset,

First of all, you can set the format in the dashboard. That's easy,
accessible, and flexible. If you want a short notation you can set that,
if you want a long one you can set that too. For a new user it can be
irritating to change the format in the dashboard options panel, and
nothing changes. That's a big usability error.

Secondly, if the length of a date upsets a theme, it isn't designed
properly. With the current trend on websites to use smaller and smaller
fonts I have my browser displaying fonts a bit larger. That can upset
that theme too, and that's not acceptable.

>  but localizing it i still need to edit it cause a US designer
> will set date in MM/DD/YY format but in italy we use DD/MM/YY, so i
> don't see anything wrong in it. 

For that reason, the best way is to use the WordPress setting, which can
be displayed with a simple "<?php the_date();?>". 

Then again, most theme authors don't even bother about gettext'ing their
themes, which should be a bigger concern. It'd be great if we could do
something about that.

-- 
Kind regards,

Michel Klijmij



More information about the wp-polyglots mailing list