Posts Tagged "english"

Localizing dates in WordPress themes

»Posted by on Dec 15, 2009 in Blog | 0 comments

Our theme on the English side and the Japanese side are the same.  And by that I mean, we only have one copy of the theme files that is used for both sides.  For this to work, it has to be  fully localised and independant. One thing that is quite different in the two languages is the formatting of dates.  A date like Dec 13th 2009 might be formatted as 2009年12月13日 Chapp worked from a theme that had the date formats hard coded into the theme.  As in: <?php the_time('F jS, Y'); ?> If we left that in, the Japanese side’s dates wouldn’t be right, but if we took out the ‘F jS, Y’ part, it defaulted to outputting the time.  As a workaround, we used: <?php the_date(); ?> which does fetch and use the right formatted date...

read more

Together or alone?

»Posted by on Jan 14, 2009 in Blog | 0 comments

I have started to learning Ruby together with Ian of the messaliberty team. Even though I started off as a programmer and wanted to learn ruby, I feel I wouldn’t have got started by myself.  It is due to Ian’s words  “Learn together with…” that I finally made the first step. Power of the words “Together with” is great.  I don’t know why, but those words have  great appeal, especially for us Japanese. If I was alone, I doubt whether I could keep going. But to start off, I felt it was best to start by myself at my own pace. (The learning ruby site’s text is in English. Sometimes I feel lost because of my poor english skills.) But learning programming is fun. As I mentioned I originally hoped to be a...

read more