Always use english translation for language selectors

This commit is contained in:
Johannes Zellner
2025-07-10 14:37:31 +02:00
parent 337c5412b7
commit cf5059b006
2 changed files with 4 additions and 3 deletions
+3 -1
View File
@@ -69,8 +69,10 @@ onMounted(async () => {
allLanguages.value = result.map(l => {
return {
id: l,
display: t(`lang.${l}`)
display: t(`lang.${l}`, l /* default fallback */, { locale: 'en' })
};
}).sort((a, b) => {
return a.display.localeCompare(b.display);
});
[error, result] = await cloudronModel.getLanguage();