Moved the localedata dictionary to a resource.

For some reason, the dictionary was in memory.
Now it's loaded if and where it is required.