Small refactoring to add fallback locale.