better approach for available_locales