AEM Edge Delivery Service, Language Switcher like how AEM Core Components Are
What is the best practice for EDS when it comes language switcher exactly like how the AEM Core Components have implemented. Because EDS has no backend, how does the links get generated understand which path it needs to render?
This is the AEM language switcher component, https://www.aemcomponents.dev/content/core-components-examples/library/core-structure/language-navigation/language-structure/us/en/language-navigation.html