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

ember-intl

Package Overview
Dependencies
Maintainers
10
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-intl

A internationalization toolbox for ambitious applications.

  • 6.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42K
increased by0.48%
Maintainers
10
Weekly downloads
 
Created
Source

This project uses GitHub Actions for continuous integration. npm Ember Observer Score

ember-intl

Installation

ember install ember-intl
Use Glint? ✨
  • Update your template registry to extend this addon's. Check the Glint documentation for more information.

    /* types/index.d.ts */
    
    import '@glint/environment-ember-loose';
    
    import type EmberIntlRegistry from 'ember-intl/template-registry';
    
    declare module '@glint/environment-ember-loose/registry' {
      export default interface Registry extends EmberIntlRegistry, /* other addon registries */ {
        // local entries
      }
    }
    

    If you are on ember-intl@v5, use the types provided by @gavant/glint-template-types.

Notable Features

  • 💵 Locale-aware numbers. Formatting of currencies, decimals, and percentages
  • 📅 Locale-aware dates and times formatting
  • 🕑 Locale-aware display of relative time. i.e, "in 1 day", "2 years ago", etc.
  • 💬 ICU Message Syntax. Pluralization and formatted segments (numbers, datetime, etc.)
  • 🌐 Support for 150+ languages
  • 🕵🏻 Translation linting (detects missing translations & translation argument mismatches)
  • 📜 Built largely on standards. ICU message syntax & Native Intl API
  • ⚡ Extensive Ember Service API and template helpers for formatting and translating
  • 🎉 Advanced addon support to provide translations to the host app

Documentation

Compatibility

  • Ember.js v3.28 or above
  • Node.js v16 or above

Migrating from ember-i18n

There's an ember-i18n-to-intl-migrator tool that is used to convert your translations files and application code to ember-intl.

If you have any questions or issues, please open in ember-i18n-to-intl-migrator/issues

Keywords

FAQs

Package last updated on 04 Dec 2023

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