Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nf): Angular i18n support #627

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

refactorTractor
Copy link

closes #413

Angular i18n support in native federation

This is how i18n support could play out in my opinion:

  • Shared entries/packages build just as they used to.
  • Exposed entries are built by the angular application internal builder
  • index.html-s are found in the build output, and each transformed
  • remoteEntries are copied next to index.html-s found, and transformed for the new directory structure
  • a remoteEntry is created in the top directory that has the references to each language bundle's exports as well
  • to match physical paths with urls in basehref-s you can provide pathMappings that will do the transformation in dev server mode.

There is no need to modify the nf-core project (or the runtime)

@refactorTractor refactorTractor changed the title I18n support feat(nf): Angular i18n support Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Native federation: support Angular i18n (partially)
1 participant