core
core copied to clipboard
Refactor `LocaleHelper::getLocales()`
The method is making too many things, including calls to the database, which slows down things like {{ record.title }}.
How can it be refactored? Can we do less there? Split into two different methods ⁉️
See #2597 for context.
In an effort to keep our issue list manageable, we are marking this issue as stale because it has been 60 days without activity. If this issue is still relevant, please let us know by posting a quick comment so that it remains open.