Socket
Socket
Sign inDemoInstall

@angular/localize

Package Overview
Dependencies
102
Maintainers
2
Versions
511
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @angular/localize

Angular - library for localizing messages


Version published
Weekly downloads
844K
decreased by-1.15%
Maintainers
2
Created
Weekly downloads
 

Package description

What is @angular/localize?

@angular/localize is an Angular package that provides localization support for Angular applications. It allows developers to easily translate their applications into different languages and manage translations efficiently.

What are @angular/localize's main functionalities?

Extracting Translatable Strings

This command extracts translatable strings from your Angular application and generates a translation file (e.g., messages.xlf). This file can then be used to provide translations for different languages.

ng extract-i18n

Translating Application

This command serves the application using a specific translation file (e.g., French). The application will display the translated strings based on the provided translation file.

ng serve --configuration=fr

Marking Strings for Translation

This code snippet shows how to mark a string for translation using the `i18n` attribute. The string 'Hello, world!' will be extracted and can be translated into different languages.

<p i18n>Hello, world!</p>

Other packages similar to @angular/localize

Changelog

Source

17.1.0 (2024-01-17)

compiler

| Commit | Type | Description | | -- | -- | -- | | 79ff91a813 | fix | allow TS jsDocParsingMode host option to be programmatically set (#53126) | | 5613051a8b | fix | allow TS jsDocParsingMode host option to be programmatically set again (#53292) | | df8a825910 | fix | project empty block root node (#53620) | | 478d622265 | fix | project empty block root node in template pipeline (#53620) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | abdc7e4578 | feat | support type-checking for generic signal inputs (#53521) | | e620b3a724 | fix | add compiler option to disable control flow content projection diagnostic (#53311) | | 4c1d69e288 | fix | add diagnostic for control flow that prevents content projection (#53190) | | 76ceebad04 | fix | do not throw fatal error if extended type check fails (#53896) | | 1a6eaa0fea | fix | input transform in local compilation mode (#53645) | | 56a76d73e0 | fix | modify getConstructorDependencies helper to work with reflection host after the previous change (#52215) |

core

| Commit | Type | Description | | -- | -- | -- | | 863be4b698 | feat | expose new input API for signal-based inputs (#53872) | | 94096c6ede | feat | support TypeScript 5.3 (#52572) | | 69b384c0d1 | fix | SignalNode reactive node incorrectly exposing unset field (#53571) | | 6f79507ea7 | fix | Change defer block fixture default behavior to playthrough (#53956) | | 32f908ab70 | fix | do not accidentally inherit input transforms when overridden (#53571) | | bdd61c768a | fix | replace assertion with more intentional error (#52234) | | 0daca457bb | fix | TestBed should still use the microtask queue to schedule effects (#53843) |

router

| Commit | Type | Description | | -- | -- | -- | | 5c1d441029 | feat | Add info property to NavigationExtras (#53303) | | 50d7916278 | feat | Add router configuration to resolve navigation promise on error (#48910) | | a5a9b408e2 | feat | Add transient info to RouterLink input (#53784) | | 726530a9af | feat | Allow onSameUrlNavigation: 'ignore' in navigateByUrl (#52265) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.0.9"></a>

Readme

Source

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT

FAQs

Last updated on 17 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc