Class LocalizationExtensions
Inheritance
LocalizationExtensions
Assembly: DotNetNuke.dll
Syntax
public static class LocalizationExtensions
Fields
ResxFileLocaleRegex
Declaration
public const string ResxFileLocaleRegex = "(?i)(.*)\\.((\\w\\w-)?\\w{2,3}-\\w{2,3})(\\.resx)$(?-i)"
Field Value
Methods
GetFileNameFromLocalizedResxFile(string)
Declaration
public static string GetFileNameFromLocalizedResxFile(this string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
GetLocaleCodeFromFileName(string)
Declaration
public static string GetLocaleCodeFromFileName(this string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns