Separate CXP page for each locale

By default, the CXP core determines the requested locale from your browser settings. This is done by inspecting the "Accept-Language" header field of the HTTP request. The locale is then used for finding a suitable CXP page to execute for satisfying the request.
This sample consists of three files: locale-separated.cxp, locale-separated.cxp.en and locale-separated.cxp.de When the browser requests the URL /locale-separated.cxp, the CXP core checks if a locale-specific CXP page exists. Assuming the browser locale is set to german, in this case the page locale-separated.cxp.de is executed. If there is no such locale-specific file, the locale-separated.cxp page is executed instead.
This solution is the best fit for the scenario, when your CXP pages primarily consists of static content.

Related articles:
Run in new tab
Live editor
Result built with V2 2156
I'm a warning toast!
I'm a success toast!