Skip to content

[Blueprints] setSiteLanguage step sets a non-persistent constants #2700

@adamziel

Description

@adamziel

Studio uses setSiteLanguage step to, well, set the site language. The language setting, however, is gone after restarting the site. This is because the language is set using await playground.defineConstant('WPLANG', language); which only affects the constants.json file, not any persistent site-related file. It seems like it would be more practical to set the wplang site option instead of a constant.

cc @zaerl @bcotrim

Metadata

Metadata

Assignees

No one assigned

    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