[MTOS-dev] A few questions about Movable Type interationalization

Fumiaki Yoshimatsu fyoshimatsu at sixapart.com
Wed May 7 18:25:30 PDT 2008


Hello Mirco,

> 1- Is there a way to modify the way MT format the date in the admin
> interface? Right now the month comes before the day and in italian it
> sounds awful.

Those are done with a few hacks for the other languages.  You can see
those in lib/MT/Util.pm, in which there is a big hash called %Language.
Japanese has further hack.  Search for "dreadful" in lib/MT/Util.pm.

> 2- The flash used to display the blog stats can be modified? Now
> everything is displayed using english names.

Right now, every language version shows it in English.  We are looking
to localize it, but the Flash component itself is blocking for now.

> 3- I've translated all the strings related to mt-check.cgi in the file
> it.pm but my changes dosen't seems to be seen. Is this a bug?

In mt-check.cgi, there is a line like below (the actual language depends
on what version you are using):
    my $lang = 'ja';
This line determines in what language mt-check shows its content.  The
language is embedded during the "make" time (by replacing
__BUILD_LANGUAGE__ variable found in mt-check.cgi.pre, the original file
in subversion repository).  You can just replace the line to have "it"
to see if it works.

Fumiaki Yoshimatsu
Movable Type Engineering,
Six Apart K.K.

> -----Original Message-----
> From: mtos-dev-bounces at sixapart.com
> [mailto:mtos-dev-bounces at sixapart.com] On Behalf Of Mirco Macrelli
> Sent: Thursday, May 08, 2008 7:55 AM
> To: mtos-dev at sixapart.com
> Subject: [MTOS-dev] A few questions about Movable Type
interationalization



More information about the MTOS-dev mailing list