Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve the language API #14269

@jmooring

Description

@jmooring

This is a nice-to-have for the future.

Site and page methods....

Current Desired
.Language.IsDefault no change
.Language.Lang deprecate in favor of .Language.Name
.Language.LanguageCode .Language.Locale
.Language.LanguageDirection .Language.Direction
.Language.LanguageName .Language.Label
.Language.Name no change (alias for .Language.Lang as v0.153.0)
.Language.Weight deprecate (neither PAGE.Version nor PAGE.Role have this method)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions