Property | Type | Description | |
---|---|---|---|
Cultures | List |
||
DefaultCulture | Culture |
Method | Description | |
---|---|---|
ExtractDomainPrefix ( |
Extract culture from an url
|
|
GetCulture ( string userLanguages ) : Culture |
Get culture type from user language
|
|
GetCulture ( |
Get culture type from url
|
|
GetPrefix ( string lang ) : string |
Get suffix from culture
|
|
SetDomainPrefix ( |
Replace the suffix of an url
|
|
TryAddCultureChangedCookie ( ) : void |
Method | Description | |
---|---|---|
GetHttpHandler ( System.Web.Routing.RequestContext requestContext ) : IHttpHandler |
Method | Description | |
---|---|---|
ShouldGuessCulture ( bool fromQuery ) : bool |
public static ExtractDomainPrefix ( |
||
url | the url | |
return | string |
public static GetCulture ( string userLanguages ) : Culture | ||
userLanguages | string | |
return | Culture |
public static GetCulture ( |
||
url | the url | |
culture | Culture | culture to be set |
return | bool |
protected GetHttpHandler ( System.Web.Routing.RequestContext requestContext ) : IHttpHandler | ||
requestContext | System.Web.Routing.RequestContext | |
return | IHttpHandler |
public static GetPrefix ( string lang ) : string | ||
lang | string | the lang |
return | string |
public static SetDomainPrefix ( |
||
url | the url | |
lang | string | the lang of the suffix |
return | string |