Skip to content

Invalid workspace config when sourceLocale is es-419 #16935

Closed
@javiermarinros

Description

@javiermarinros

When sourceLocale is set to "es-419", the following error is thrown:

An unhandled exception occurred: Workspace config file cannot be loaded:
angular.json
Schema validation failed with the following errors:
Data path ".projects[''].i18n.sourceLocale" should match pattern "^[a-z]{2}(-[a-zA-Z]{2,})?$".
Data path ".projects[''].i18n.sourceLocale" should be object.
Data path ".projects[''].i18n.sourceLocale" should match exactly one schema in oneOf.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions