npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

webhook-cms-i18n

v2.0.4

Published

This repository contains all the translations for [Webhook CMS](https://github.com/webhook/webhook-cms) powered by [Ember.I18n](https://github.com/jamesarosen/ember-i18n). All translation files are written in JSON within the translations directory.

Downloads

13

Readme

This repository contains all the translations for Webhook CMS powered by Ember.I18n. All translation files are written in JSON within the translations directory.

During Webhook CMS initialization, the english language file is extended by the chosen language file. If the chosen language file is missing a translation key, the english value for that key will be used.

Contributing

Installing

  • Fork this repo.
  • git clone [email protected]:YOUR_USERNAME/webhook-cms-i18n.git
  • npm install
  • bower install
  • run default grunt command and load up http://localhost:8000. See below for options.

Add language file

If you would like to contribute a new language, add a file with an ISO 639-1 language code for a filename (ie: fr.json for French) to the translations directory.

Developing

Running the grunt command will run a webserver for development. Open http://localhost:8000 in your browser of choice. Choose a language to start from. Change any values you see fit. Click on the convert button to print out a JSON representation of the translation data. Copy/paste the output into your language file.

Compiling

Webhook CMS uses the translations.js file found in the lib directory. It is created from all of the JSON files within the translations directory.

The default grunt task runs a watch command that looks for changes to the JSON files in the translations and compiles the translations.js file.

If you are not running the default grunt task, you need to run the grunt compile command to generate a new translations.js file with your changes.

Versioning

We try to use Semantic Versioning for webhook-cms-i18n.

Given a version number MAJOR.MINOR.PATCH, increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add a language in a backwards-compatible manner, and
  3. PATCH version when you add translation and backwards-compatible bug fixes.

Versioning can be done with the grunt version:type command.