Moved localization completely out of the API so the API could truly be independent of the main codebase. <- I mean it this time.