Socket
Socket
Sign inDemoInstall

@angular/localize

Package Overview
Dependencies
4
Maintainers
2
Versions
505
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
902K
increased by1.96%
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.2.4 (2024-03-06)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 917b9bdd2e | fix | unwrap expressions with type parameters in query read property (#54647) |

core

| Commit | Type | Description | | -- | -- | -- | | 586cc24a10 | fix | apply TestBed provider overrides to @defer dependencies (#54667) | | b558a01c84 | fix | generic inference for signal inputs may break with --strictFunctionTypes (#54652) | | 443e5f1591 | fix | return a readonly signal on asReadonly. (#54719) | | ffbafc7d4a | fix | untrack various core operations (#54614) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.2.3"></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 06 Mar 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc