# handlebars-helper-i18n

> {{i18n}} handlebars helper

Latest version **0.1.0** (published 2014-09-12) · 0 weekly downloads

## Install

```sh
npm install handlebars-helper-i18n
pnpm add handlebars-helper-i18n
yarn add handlebars-helper-i18n
bun add handlebars-helper-i18n
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-09-12 |
| First published | 2014-09-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Laurent Goderre |
| Maintainers | laurentgoderre |
| Keywords | assemble, assemblehelper, handlebars, helper, i18n, internationalize, lang, language, languages, local, locale, localization, translate, translation, localize, prefix |

## Links

- npm: https://www.npmjs.com/package/handlebars-helper-i18n
- Repository: https://github.com/helpers/handlebars-helper-i18n
- Issues: https://github.com/helpers/handlebars-helper-i18n/issues
- npm.io page: https://npm.io/package/handlebars-helper-i18n

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-09-12

## README

# {{i18n}} [![NPM version](https://badge.fury.io/js/handlebars-helper-i18n.svg)](http://badge.fury.io/js/handlebars-helper-i18n)


> {{i18n}} handlebars helper

## Install

#### Install with [npm](npmjs.org)

```bash
npm i handlebars-helper-i18n --save-dev
```


## Register the helper

```js
var Handlebars = require('handlebars');
var helper = require('handlebars-helper-i18n');

Handlebars.registerHelper('i18n', helper.i18n);
```

### Register the helper with Assemble


**[Assemble](http://assemble.io) v0.6.x**

```js
var assemble = require('assemble');
var helper = require('assemble-handlebars-i18n');

assemble.helper('i18n', helper.i18n);
```


**[Assemble](http://assemble.io) v0.4.x**

In your project's Gruntfile:

```js
assemble: {
  options: {
    helpers: ['handlebars-helper-i18n']
  },
  files: {...}
}
```

_Also, be sure to add the helper to `devDependencies` in package.json for Assemble to automatically register the helper._


## Usage

Given file name: `Executive Summary 2013.md`:

```html
{{i18n "key"}}
```

Renders to `executive-summary-2013.md`.


## Author

**Laurent Goderre**

+ [github/LaurentGoderre](https://github.com/LaurentGoderre)
+ [twitter/LaurentGoderre](https://twitter.com/LaurentGoderre)


## License
Copyright (c) 2014 Laurent Goderre, contributors.  
Released under the MIT license

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on September 12, 2014._

---
_Source: https://npm.io/package/handlebars-helper-i18n · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
