On operating systems with regular expressions, there is an example to accomplish this in the section about aliases . There are too many problems in trying to produce anything sensible, especially near the beginning of the month. Different days of the week and different times of day cause lots of problems. I would prefer to produce raw accurate data than suspect derived data. Some programs pretend to do this, but you can actually only tell which state the computer the person was using is in, which may be quite different from where the user was for ISP's or other large organisations.
People are more familiar with the country codes.
And not all of my languages have language codes anyway. I didn't write analog for the money, and I'm happy just to see people use it. Also, by making it open source, lots of people send me ideas and code to include in future versions. If there's still something you can't figure out, see the next section for how to get help with analog.