Interface for locale resolution for different frameworks.