Select Git revision
-
Reiter, Christoph authored
We currently configure symfony to apply the "Accept-Language" header to all requests, so there remain only two cases where we need to manually adjust things: * In case an endpoint renders HTML that is displayed in an iframe or popup we still need to provide an option to pass a language via a query parameter. This then takes precedence over the header. * In case we need a language identifier for another service, where we need to request an external resource for a specific language. In this case we either need to take the request language or in case we are in a CLI context the default locale configured in symfony.
Reiter, Christoph authoredWe currently configure symfony to apply the "Accept-Language" header to all requests, so there remain only two cases where we need to manually adjust things: * In case an endpoint renders HTML that is displayed in an iframe or popup we still need to provide an option to pass a language via a query parameter. This then takes precedence over the header. * In case we need a language identifier for another service, where we need to request an external resource for a specific language. In this case we either need to take the request language or in case we are in a CLI context the default locale configured in symfony.
index.html 286 B
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<script type="module" src="dbp-person-select-demo.js"></script>
</head>
<body>
<dbp-person-select-demo auth requested-login-status lang="de" entry-point-url="http://127.0.0.1:8000"></dbp-person-select-demo>
</body>
</html>