Translations

Hedin UI uses internal English strings in components. Your application may override these strings for multi-language support.

Implement your custom resources
1. Add a translation resx file to your project
2. Implement a class that implements HUILocalizer

                    internal class ResXHUILocalizer : HUILocalizer
                    {
                        private IStringLocalizer _localization;

                        public ResXHUILocalizer(IStringLocalizer<Translation> localizer)
                        {
                            _localization = localizer;
                        }

                        public override LocalizedString this[string key] => _localization[key];
                    }
                    
3. Add to startup
services.AddTransient<HUILocalizer, ResXHUILocalizer>();
Available resources
Key
Value
HUIAppBar.DevMode You are currently in Devmode
HUIAppDrawer.SwitchService Switch app
HUIAppDrawer.Tooltip Application drawer
HUIBlogPost.AttachedFiles Attached files
HUIBlogPost.EditLink Edit
HUIBlogPost.Less less
HUIBlogPost.More more
HUIBlogPost.Show Show
HUICommon.Add Add
HUICommon.Back Back
HUICommon.Close Close
HUICommon.Delete Delete
HUICommon.Edit Edit
HUICommon.Send Send
HUIDataGrid.ManageTableSettings Manage table settings
HUIDataGrid.ResetTableSettings Reset column settings to default
HUIDataGrid.TableSettings Table settings
HUIDialogUnsavedChanges.ButtonTextCancel Cancel
HUIDialogUnsavedChanges.ButtonTextClose Close window
HUIDialogUnsavedChanges.Text You have unsaved changes that will be lost
HUIDialogUnsavedChanges.TitleText Close window
HUIInfoMessage.EditLink Edit
HUIInfoMessage.IHaveReadThisNotification I have read this notification
HUIInfoMessage.MarkedAsRead Marked as read
HUIInfoMessage.MoveToArchive Move to archive
HUIPageFilter.ManageFilterButtonText Manage filter settings
HUIPageFilter.ResetFilters Reset filters
HUIPageFilter.SearchButtonText Search
HUIPageTable.DownloadAsExcelButton Download as Excel
HUIPageTable.QuickSearchLabel Search
HUIPageTable.QuickSearchToolTip Search on all columns
HUIPageTable.Refresh Refresh the list
HUISuggestionBox.FeedbackSent Thank you for your commitment to our product
HUISuggestionBox.Placeholder Write suggestion or insights here
An error has occurred. This app may no longer respond until reloaded. Reload 🗙

There was a problem with the connection!

(Current reconnect attempt: / )