apostrophecms / apostrophe

A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
https://apostrophecms.com
MIT License
4.34k stars 592 forks source link

PRO-6438: API to expose locales #4691

Closed boutell closed 1 month ago

boutell commented 1 month ago

A simple GET API at /api/v1/@apostrophecms/i18n/locales which returns the configured locales of the site. This is a public API intended to ease the implementation of locale switching in headless applications.

linear[bot] commented 1 month ago

PRO-6438 Help headless developers identify all locales programmatically