Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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
Re^4: Happy unbirthday! (To all, with a challenge)
by Lady_Aleena (Chaplain) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-09-20 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls