Mehrsprachigkeit mit Resx-Ressourcen und Sprachwechsel hinzugefügt

This commit is contained in:
2026-02-13 11:44:52 +01:00
parent 57735cdf93
commit b4d70c4825
10 changed files with 610 additions and 27 deletions

View File

@@ -101,6 +101,36 @@
</StackPanel>
</Border>
<Border Background="{DynamicResource CardBackground}" CornerRadius="12" Padding="25" Margin="0,0,0,25">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<iconPacks:PackIconMaterial Kind="Translate"
Width="32"
Height="32"
Foreground="{DynamicResource PrimaryText}"
Margin="0,0,15,0"/>
<StackPanel Width="300">
<TextBlock Text="Sprache"
FontSize="18"
FontWeight="Bold"
Foreground="{DynamicResource PrimaryText}"/>
<TextBlock Text="Wählen Sie Ihre bevorzugte Sprache"
FontSize="14"
Foreground="{DynamicResource SecondaryText}"/>
</StackPanel>
<ComboBox x:Name="LanguageComboBox"
Width="150"
SelectionChanged="LanguageComboBox_SelectionChanged">
<ComboBoxItem Content="Deutsch" Tag="de"/>
<ComboBoxItem Content="English" Tag="en"/>
</ComboBox>
</StackPanel>
</Border>
<Border Background="#FEF2F2" CornerRadius="12" Padding="25" BorderBrush="#EF5350" BorderThickness="1">
<StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,15">
@@ -118,7 +148,6 @@
</Button>
</StackPanel>
</Border>
</StackPanel>
</Grid>
</Grid>