Show / Hide Table of Contents

Class LocalizationExtensions

Inheritance
object
LocalizationExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.Localization
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
Type Description
string

Methods

GetFileNameFromLocalizedResxFile(string)

Declaration
public static string GetFileNameFromLocalizedResxFile(this string fileName)
Parameters
Type Name Description
string fileName
Returns
Type Description
string

GetLocaleCodeFromFileName(string)

Declaration
public static string GetLocaleCodeFromFileName(this string fileName)
Parameters
Type Name Description
string fileName
Returns
Type Description
string
Back to top by the community, for the community... #DNNCMS