File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Imports System.Reflection
88Public Class LanguageHelper
99 ' Supported language list
1010 ' @i18n
11- Private Shared ReadOnly SupportedCultures As String () = { "en-US" , "zh-CN" }
11+ Private Shared ReadOnly SupportedCultures As String () = { "en-US" , "ru-RU" , " zh-CN"}
1212 Private Shared resourceManager As ResourceManager = i18n.i18n.ResourceManager
1313 Private Shared currentCulture As CultureInfo = Nothing
1414
@@ -83,6 +83,7 @@ Public Class LanguageHelper
8383 '@i18n
8484 Dim langMapping As New Dictionary( Of String , String ) From {
8585 { "en" , "en-US" },
86+ { "ru" , "ru-RU" },
8687 { "zh" , "zh-CN" }
8788 }
8889
@@ -136,4 +137,4 @@ Public Class LocalizeExtension
136137 Public Overrides Function ProvideValue(serviceProvider As IServiceProvider) As Object
137138 Return LanguageHelper.GetString(_key)
138139 End Function
139- End Class
140+ End Class
You can’t perform that action at this time.
0 commit comments