Changed factory name for the cache adapter and added current locale as shared instance.