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

Maarten Schenk mschenk at sixapart.com
Thu May 8 00:30:40 PDT 2008


Mirco Macrelli schreef:
> I'm updating my old italian translation to make sure everythings is  
> perfect when 4.15 will be released. Now I need help with a few things.
>
> 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.
>   
In lib/MT/Util.pm there is a definition of a %Languages hash that 
contains date and time formatting options for all languages for which a 
date_language is supported (including Italian).  The settings for 
Italian look like this:
    'it' => [
            [ ('Domenica', "Lunedì", "Martedì", "Mercoledì",
               "Giovedì", "Venerdì", 'Sabato') ],
            [ qw( Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio
                  Agosto Settembre Ottobre Novembre Dicembre ) ],
            [ qw( AM PM ) ],
            "%d.%m.%y %H:%M",
            "%d.%m.%y",
            "%H:%M",
          ],

You should probably submit a patch for this, as these formatting options 
are also used on the published blogs that have their language set to 
italian...
> 2- The flash used to display the blog stats can be modified? Now  
> everything is displayed using english names.
>   
I don't know, I'm not a Flash expert.  Not even a Flash n00b actually.  
More like a Flash virgin, even.
> 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?
>   
Could you check line 60 in your mt-config.cgi and replace 'en_US' with 
'it' and see what that does?

Kind regards,

-- 
Maarten Schenk
Movable Type Coordinator Europe
Mobile: +32 4 76 31 07 57
=========================================
Breaking news: UK's BBC launches the 
BBC Blog Network at http://www.bbc.co.uk/blogs/
Visit http://europe.sixapart.com for more  
=========================================
SIX APART EMEA
48 Rue de la Bienfaisance, 75008 PARIS
Std: +33 1 45 62 02 03 -  Fax: +33 1 72 70 43 39



More information about the MTOS-dev mailing list