A cache-compatible plugin which converts all prices in a post or page into the viewer's local currency.
In order to make the lookup process more robust the LocalMoney plugin uses a main and a fallback mechanism to lookup a visitor's location.
The main system is the IP2C (IP to country) lookup service which is included with the plugin. If the user is accessing your site via a proxy the 'Forwarded-for' header will be used, allowing users from AOL to benefit from this plugin.
The fallback system looks at the visitor's language preference. If it is in the form 'en-GB' it will use the appropriate currency for GB which is Pound Sterling. If the language preference is in the form 'en' it will check the timezone offset of the user and guess the appropriate country from that, i.e. in the case of 'en' the following data will be used:
0 - 24->
gb gb gb gb gb in in ch au au au au nz nz us us us us us us gb gb gb gb
Under the fallback system, because the currency is determined by the settings on the user's machine, a visitor who happens to be in a foreign country still gets their own currency not the local one (unless they have changed their timezone settings).