Skip to content

Incorrect context language in script #1310

@alan-null

Description

@alan-null

Expected Behavior

[Sitecore.Context]::Language returns correct client language

Actual Behavior

Script language is always en - it makes it impossible to translate UI.

image

image

Steps to Reproduce the Problem

  • create integration for Content Editor->Context Menu
  • add script
[Sitecore.Context]::Language.Name
  • invoke it in CE for different languages and observe results.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions