Skip to content

Incorrect context language in script #1310

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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