Skip to content

Native federation: support Angular i18n (partially) #413

Open
@refactorTractor

Description

@refactorTractor

Hi!

Supporting angular i18n is a pretty important feature for me.

I think native federation can handle a partial scenario pretty easily. I assume that most shared modules are locale-agnostic - only the angular app itself requires inlining translations. So a logical first step could be to support a localized main-bundle with locale-independent shares.

It seems like this concept fits the architecture of native federation, because the main bundle's build is up to angular-devkit/esbuild-browser, and shared modules are bundled using esbuild natively.

(I imagine that later down the line shared packages would have to be checked whether they're produced by ng-packagr, and then you could integrate their localizations.)

Anyway, for this first step I created #411 , please consider it.

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