Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^3: Happy unbirthday! (To all, with a challenge)

by Tux (Monsignor)
on Sep 27, 2011 at 07:45 UTC ( #928039=note: print w/ replies, xml ) Need Help??

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
Comment on Re^3: Happy unbirthday! (To all, with a challenge)
Download Code
Replies are listed 'Best First'.
Re^4: Happy unbirthday! (To all, with a challenge)
by Lady_Aleena (Deacon) 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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928039]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2016-05-29 16:55 GMT
Find Nodes?
    Voting Booth?