🌐(frontend) add German translation

- Add the german translation to Docs
- Add the german language to the frontend
language picker
This commit is contained in:
Anthony LC
2024-11-07 12:47:13 +01:00
committed by Anthony LC
parent c750cf10a8
commit ac40eb8f7c
4 changed files with 131 additions and 0 deletions

View File

@@ -24,6 +24,18 @@ test.describe('Language', () => {
name: 'Créer un nouveau document',
}),
).toBeVisible();
await header.getByRole('combobox').getByText('Français').click();
await header.getByRole('option', { name: 'Deutsch' }).click();
await expect(
header.getByRole('combobox').getByText('Deutsch'),
).toBeVisible();
await expect(
page.getByRole('button', {
name: 'Neues Dokument erstellen',
}),
).toBeVisible();
});
test('checks that backend uses the same language as the frontend', async ({