New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@o3r/localization

Package Overview
Dependencies
Maintainers
0
Versions
1848
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@o3r/localization

This module provides a runtime dynamic language/translation support and debug tools.

  • 11.6.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
decreased by-1.12%
Maintainers
0
Weekly downloads
 
Created
Source

Otter localization

Super cute Otter!

This package is an Otter Framework Module.

Description

Stable Version Bundle Size

The localization module is built on top of an open source ngx-translate library. It provides the following features:

  • Multiple locales support, switchable at runtime.
  • RTL (right-to-left) text direction support
  • Translations loader using a specific endpoint or defaulting to local translation bundles
  • Fallback language and intelligent fallback support
  • Translation of resource keys from templates (*.html) and from typescript (*.ts)
  • Support for resource keys with parameters
  • Custom LocalizationConfiguration
  • Ability to toggle translations on and off for debugging (and additional debug tools)

How to install

ng add @o3r/localization

[!WARNING] This module requires @o3r/core to be installed.

Generators

Otter framework provides a set of code generators based on Angular schematics.

SchematicsDescriptionHow to use
addInclude Otter localization module in a library/application.ng add @o3r/localization
localization-to-componentAdd localization architecture to an Otter componentng g localization-to-component
localization-key-to-componentAdd a localization key to an Otter componentng g localization-key-to-component

More details

Find more information in the documentation.

Keywords

FAQs

Package last updated on 07 Feb 2025

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc