Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CompactGUI/LanguageHelper.vb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Imports System.Reflection
Public Class LanguageHelper
' Supported language list
' @i18n
Private Shared ReadOnly SupportedCultures As String() = {"en-US", "zh-CN"}
Private Shared ReadOnly SupportedCultures As String() = {"en-US", "ru-RU", "zh-CN"}
Private Shared resourceManager As ResourceManager = i18n.i18n.ResourceManager
Private Shared currentCulture As CultureInfo = Nothing

Expand Down Expand Up @@ -83,6 +83,7 @@ Public Class LanguageHelper
'@i18n
Dim langMapping As New Dictionary(Of String, String) From {
{"en", "en-US"},
{"ru", "ru-RU"},
{"zh", "zh-CN"}
}

Expand Down Expand Up @@ -136,4 +137,4 @@ Public Class LocalizeExtension
Public Overrides Function ProvideValue(serviceProvider As IServiceProvider) As Object
Return LanguageHelper.GetString(_key)
End Function
End Class
End Class
Loading