22 lines
600 B
HTML
22 lines
600 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head><title>Test i18n Loading</title></head>
|
|
<body>
|
|
<script>
|
|
// Simulate what i18n-simple.js should do
|
|
window.i18nTranslations = {};
|
|
|
|
fetch('/locales/de/architecture.json')
|
|
.then(r => r.json())
|
|
.then(data => {
|
|
window.i18nTranslations = data;
|
|
console.log('Loaded DE translations');
|
|
console.log('diagram_services exists?', !!data.diagram_services);
|
|
if (data.diagram_services) {
|
|
console.log('Services:', Object.keys(data.diagram_services));
|
|
console.log('Boundary name:', data.diagram_services.boundary.name);
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|