Ghost/core/frontend/services
Hannah Wolfe 9ce407966f Improved theme locale handling
- when activating a theme, we need to load the current locale
- this request used to be buried deep in the themeI18n init call
- now we surface it in the bridge and pass it down, which is closer to what we want to do with eventually initialising the frontend
with everything it needs up front (or not initialising it, if it isn't needed)

- in the related helpers we depend on the site.locale value instead of proxy -> themeI18n -> settingsCache drastically simplifying the code and removing deep requires
- site.locale is updated via middleware and can be relied upon
2021-05-05 16:13:26 +01:00
..
apps Moved i18n to shared 2021-05-04 13:03:38 +01:00
redirects Moved i18n to shared 2021-05-04 13:03:38 +01:00
routing Moved i18n to shared 2021-05-04 13:03:38 +01:00
rss 🏗 Changed internal URL storage format to use __GHOST_URL__ (#12731) 2021-03-05 13:54:01 +00:00
settings Moved bridge into its proper location 2021-04-26 14:38:57 +01:00
sitemap Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
theme-engine Improved theme locale handling 2021-05-05 16:13:26 +01:00
url Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
proxy.js Moved i18n to shared 2021-05-04 13:03:38 +01:00