Skip to content

sourceLocale not used for LOCALE_ID in angular 19 #59422

@DaSchTour

Description

@DaSchTour

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

Yes

Description

Documentation describes setting the LOCALE_ID with sourceLocale in angular.json. This doesn't work with angular19 and/or new application executor.

LOCALE_ID is always en-US

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)

NX   Report complete - copy this into the issue template

Node           : 22.11.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.9.0

nx                     : 20.3.0
@nx/js                 : 20.3.0
@nx/jest               : 20.3.0
@nx/eslint             : 20.3.0
@nx/workspace          : 20.3.0
@nx/angular            : 20.3.0
@nx/cypress            : 20.3.0
@nx/devkit             : 20.3.0
@nx/eslint-plugin      : 20.3.0
@nx/module-federation  : 20.3.0
@nx/plugin             : 20.3.0
@nx/storybook          : 20.3.0
@nx/web                : 20.3.0
@nx/webpack            : 20.3.0
typescript             : 5.6.3
---------------------------------------
Registered Plugins:
@nx/eslint/plugin
---------------------------------------
Community plugins:
@ngneat/hot-toast     : 6.1.0
@ngneat/spectator     : 19.3.0
@ngrx/component       : 19.0.0
@ngrx/component-store : 19.0.0
@ngrx/effects         : 19.0.0
@ngrx/entity          : 19.0.0
@ngrx/eslint-plugin   : 19.0.0
@ngrx/operators       : 19.0.0
@ngrx/router-store    : 19.0.0
@ngrx/schematics      : 19.0.0
@ngrx/store           : 19.0.0
@ngrx/store-devtools  : 19.0.0
@storybook/angular    : 8.4.7
angular-eslint        : 19.0.2
apollo-angular        : 8.0.0
ng-mocks              : 14.13.1

Anything else?

The documentation about sourceLocale could be extended a bit more, as it may not be clear where to set sourceLocale.

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