http://www.perlmonks.org?node_id=928039


in reply to Re^2: Happy unbirthday! (To all, with a challenge)
in thread Happy unbirthday!

As I had to install Lingua::EN::Inflect to make it run, the obvious next question is to make it localize

Happy 18,119th unbirthday, Tux! You have 94 days until your next birthday.

I never use the TRIADSEP in numerals, and in Dutch, 18,119th looks stupid.

(I had a lot of fun back in the day when I still used Windows-NT on my desktop. Windows allows you to set virtually any specific locale entry, getting you weird combinations. I used to set RADIXSEP to "." (default en_US) and TRIADSEP to " " (that is a space :). Have a look how many import- and export filters for the M$ suite start failing.)


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^4: Happy unbirthday! (To all, with a challenge)
by Lady_Aleena (Priest) on Sep 27, 2011 at 09:04 UTC

    I wrote this in English, my native language. I am open to translations, if you are willing to translate this to Dutch with all the Dutch grammar rules for ordinal numbers. The language code for Dutch in Date::Calc is 6. The only languages I speak are English and German, and my German is very rusty. I am also open to other suggestions for improvement.

    Have a cookie and a very nice day!
    Lady Aleena