diff --git a/src/Application/Resources/Features/Brands/Commands/Delete/DeleteBrandCommandHandler.de.nl.resx b/src/Application/Resources/Features/Brands/Commands/Delete/DeleteBrandCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/Brands/Commands/Delete/DeleteBrandCommandHandler.de.nl.resx rename to src/Application/Resources/Features/Brands/Commands/Delete/DeleteBrandCommandHandler.nl.resx diff --git a/src/Application/Resources/Features/DocumentTypes/Commands/AddEdit/AddEditDocumentTypeCommandHandler.en.nl.resx b/src/Application/Resources/Features/DocumentTypes/Commands/AddEdit/AddEditDocumentTypeCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/DocumentTypes/Commands/AddEdit/AddEditDocumentTypeCommandHandler.en.nl.resx rename to src/Application/Resources/Features/DocumentTypes/Commands/AddEdit/AddEditDocumentTypeCommandHandler.nl.resx diff --git a/src/Application/Resources/Features/DocumentTypes/Commands/Delete/DeleteDocumentTypeCommandHandler.en.nl.resx b/src/Application/Resources/Features/DocumentTypes/Commands/Delete/DeleteDocumentTypeCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/DocumentTypes/Commands/Delete/DeleteDocumentTypeCommandHandler.en.nl.resx rename to src/Application/Resources/Features/DocumentTypes/Commands/Delete/DeleteDocumentTypeCommandHandler.nl.resx diff --git a/src/Application/Resources/Features/Documents/Commands/AddEdit/AddEditDocumentCommandHandler.en.nl.resx b/src/Application/Resources/Features/Documents/Commands/AddEdit/AddEditDocumentCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/Documents/Commands/AddEdit/AddEditDocumentCommandHandler.en.nl.resx rename to src/Application/Resources/Features/Documents/Commands/AddEdit/AddEditDocumentCommandHandler.nl.resx diff --git a/src/Application/Resources/Features/Documents/Commands/Delete/DeleteDocumentCommandHandler.en.nl.resx b/src/Application/Resources/Features/Documents/Commands/Delete/DeleteDocumentCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/Documents/Commands/Delete/DeleteDocumentCommandHandler.en.nl.resx rename to src/Application/Resources/Features/Documents/Commands/Delete/DeleteDocumentCommandHandler.nl.resx diff --git a/src/Application/Resources/Features/ExtendedAttributes/Commands/AddEdit/AddEditExtendedAttributeCommandLocalization.de.nl.resx b/src/Application/Resources/Features/ExtendedAttributes/Commands/AddEdit/AddEditExtendedAttributeCommandLocalization.nl.resx similarity index 100% rename from src/Application/Resources/Features/ExtendedAttributes/Commands/AddEdit/AddEditExtendedAttributeCommandLocalization.de.nl.resx rename to src/Application/Resources/Features/ExtendedAttributes/Commands/AddEdit/AddEditExtendedAttributeCommandLocalization.nl.resx diff --git a/src/Application/Resources/Features/ExtendedAttributes/Commands/Delete/DeleteExtendedAttributeCommandLocalization.de.nl.resx b/src/Application/Resources/Features/ExtendedAttributes/Commands/Delete/DeleteExtendedAttributeCommandLocalization.nl.resx similarity index 100% rename from src/Application/Resources/Features/ExtendedAttributes/Commands/Delete/DeleteExtendedAttributeCommandLocalization.de.nl.resx rename to src/Application/Resources/Features/ExtendedAttributes/Commands/Delete/DeleteExtendedAttributeCommandLocalization.nl.resx diff --git a/src/Application/Resources/Features/Products/Commands/AddEdit/AddEditProductCommandHandler.en.nl.resx b/src/Application/Resources/Features/Products/Commands/AddEdit/AddEditProductCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/Products/Commands/AddEdit/AddEditProductCommandHandler.en.nl.resx rename to src/Application/Resources/Features/Products/Commands/AddEdit/AddEditProductCommandHandler.nl.resx diff --git a/src/Application/Resources/Features/Products/Commands/Delete/DeleteProductCommandHandler.de.nl.resx b/src/Application/Resources/Features/Products/Commands/Delete/DeleteProductCommandHandler.nl.resx similarity index 100% rename from src/Application/Resources/Features/Products/Commands/Delete/DeleteProductCommandHandler.de.nl.resx rename to src/Application/Resources/Features/Products/Commands/Delete/DeleteProductCommandHandler.nl.resx diff --git a/src/Client/Shared/Components/LanguageSelector.razor b/src/Client/Shared/Components/LanguageSelector.razor index 398121e2f..9bd38e53e 100644 --- a/src/Client/Shared/Components/LanguageSelector.razor +++ b/src/Client/Shared/Components/LanguageSelector.razor @@ -1,12 +1,15 @@ @using BlazorHero.CleanArchitecture.Shared.Constants.Localization @inject Microsoft.Extensions.Localization.IStringLocalizer _localizer - - @foreach (var language in LocalizationConstants.SupportedLanguages) - { - @_localizer[language.DisplayName] - } - +@if (LocalizationConstants.SupportedLanguages.Length > 1) +{ + + @foreach (var language in LocalizationConstants.SupportedLanguages) + { + @_localizer[language.DisplayName] + } + +} @code {